PageRenderTime 21ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/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
 1require 'rename_scope'
 2
 3include Rename_scope
 4
 5a = Natural_UP.new
 6b = Natural_BP.new
 7
 8raise RuntimeError if a.rtest() != 1
 9
10raise RuntimeError if b.rtest() != 1
11