PageRenderTime 59ms CodeModel.GetById 22ms 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
  1. require 'rename_scope'
  2. include Rename_scope
  3. a = Natural_UP.new
  4. b = Natural_BP.new
  5. raise RuntimeError if a.rtest() != 1
  6. raise RuntimeError if b.rtest() != 1