/trunk/Examples/test-suite/ruby/extend_template_runme.rb
# · Ruby · 21 lines · 9 code · 4 blank · 8 comment · 4 complexity · 6946597efe8b53313843f0620bfee223 MD5 · raw file
- #!/usr/bin/env ruby
- #
- # Put description here
- #
- #
- #
- #
- #
- require 'swig_assert'
- require 'extend_template'
- f = Extend_template::Foo_0.new
- if f.test1(37) != 37
- raise RuntimeError
- end
- if f.test2(42) != 42
- raise RuntimeError
- end