- source files and Makefiles need never be executable - scripts are run directly by their interpreters in the test suites, so also do not need to be executable
24 lines
257 B
Ruby
24 lines
257 B
Ruby
#!/usr/bin/env ruby
|
|
#
|
|
# Put description here
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
|
|
require 'swig_assert'
|
|
|
|
require 'dynamic_cast'
|
|
|
|
f = Dynamic_cast::Foo.new
|
|
b = Dynamic_cast::Bar.new
|
|
|
|
x = f.blah
|
|
y = b.blah
|
|
|
|
a = Dynamic_cast.do_test(y)
|
|
if a != "Bar::test"
|
|
puts "Failed!!"
|
|
end
|
|
|