/trunk/Examples/test-suite/ruby/enum_thorough_runme.rb
# · Ruby · 19 lines · 5 code · 5 blank · 9 comment · 4 complexity · 40d6db40bbc331693c3107d1bdfd072a MD5 · raw file
- #!/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