Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend

This commit is contained in:
William S Fulton 2016-02-21 16:28:21 +00:00
commit 155e31626c
10 changed files with 106 additions and 1 deletions

View file

@ -0,0 +1,19 @@
#!/usr/bin/env ruby
#
# Put description here
#
#
#
#
#
require 'swig_assert'
require 'overload_extend_c'
f = Overload_extend_c::Foo.new
raise RuntimeError if f.test(3) != 1
raise RuntimeError if f.test("hello") != 2
raise RuntimeError if f.test(3.5,2.5) != 6