summaryrefslogtreecommitdiff
path: root/Examples/test-suite/ruby/enum_thorough_runme.rb
blob: e4a1ec71953824d2992efc9d5f82ce1f0f6e8e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env ruby
#
# Put description here
#
# 
# 
# 
#

require 'swig_assert'

require 'enum_thorough'

include Enum_thorough

# Just test an in and out typemap for enum SWIGTYPE and const enum SWIGTYPE & typemaps
raise RuntimeError if speedTest4(SpeedClass::Slow) != SpeedClass::Slow
raise RuntimeError if speedTest5(SpeedClass::Slow) != SpeedClass::Slow