PageRenderTime 38ms CodeModel.GetById 45ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1.3.35/Examples/test-suite/ruby/typemap_namespace_runme.rb

#
Ruby | 18 lines | 5 code | 5 blank | 8 comment | 4 complexity | 2ebfabba81e2b71a4ce8fd069429f10d 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 'typemap_namespace'
  11. include Typemap_namespace
  12. raise RuntimeError if test1("hello") != "hello"
  13. raise RuntimeError if test2("hello") != "hello"