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

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

#
Ruby | 19 lines | 5 code | 5 blank | 9 comment | 4 complexity | 40d6db40bbc331693c3107d1bdfd072a MD5 | raw file
 1#!/usr/bin/env ruby
 2#
 3# Put description here
 4#
 5# 
 6# 
 7# 
 8#
 9
10require 'swig_assert'
11
12require 'enum_thorough'
13
14include Enum_thorough
15
16# Just test an in and out typemap for enum SWIGTYPE and const enum SWIGTYPE & typemaps
17raise RuntimeError if speedTest4(SpeedClass::Slow) != SpeedClass::Slow
18raise RuntimeError if speedTest5(SpeedClass::Slow) != SpeedClass::Slow
19