PageRenderTime 24ms CodeModel.GetById 13ms app.highlight 10ms 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
10require 'swig_assert'
11
12require 'typemap_namespace'
13
14include Typemap_namespace
15
16raise RuntimeError if test1("hello") != "hello"
17
18raise RuntimeError if test2("hello") != "hello"