PageRenderTime 42ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/ruby/rename_scope_runme.rb

#
Ruby | 21 lines | 7 code | 6 blank | 8 comment | 4 complexity | 2d2e886c448ac10a46b50b584309f50f MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. #!/usr/bin/env ruby
  2. #
  3. # Put description here
  4. #
  5. #
  6. #
  7. #
  8. #
  9. require 'swig_assert'
  10. require 'rename_scope'
  11. include Rename_scope
  12. a = Natural_UP.new
  13. b = Natural_BP.new
  14. raise RuntimeError if a.rtest() != 1
  15. raise RuntimeError if b.rtest() != 1