/tags/rel-1-3-29/SWIG/Examples/test-suite/ruby/rename_scope_runme.rb
Ruby | 10 lines | 6 code | 4 blank | 0 comment | 4 complexity | a1a9c49bb3cb1afa089a1621bb8c8c6c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- require 'rename_scope'
- include Rename_scope
- a = Natural_UP.new
- b = Natural_BP.new
- raise RuntimeError if a.rtest() != 1
- raise RuntimeError if b.rtest() != 1