/trunk/Examples/test-suite/ruby/extend_template_runme.rb
Ruby | 21 lines | 9 code | 4 blank | 8 comment | 4 complexity | 6946597efe8b53313843f0620bfee223 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- #!/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