simple const enum SWIGTYPE & typemap test and enum by value runtime test

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-11-28 19:43:39 +00:00
commit 6c5b430226

View file

@ -0,0 +1,8 @@
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