PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Ruby | 21 lines | 9 code | 4 blank | 8 comment | 4 complexity | 6946597efe8b53313843f0620bfee223 MD5 | raw file
 1#!/usr/bin/env ruby
 2#
 3# Put description here
 4#
 5# 
 6# 
 7# 
 8#
 9
10require 'swig_assert'
11
12require 'extend_template'
13
14f = Extend_template::Foo_0.new
15if f.test1(37) != 37
16  raise RuntimeError
17end
18
19if f.test2(42) != 42
20  raise RuntimeError
21end