better test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
405a7335a7
commit
f152262d7a
2 changed files with 9 additions and 1 deletions
|
|
@ -2,6 +2,10 @@ import cpp_enum
|
|||
|
||||
f = cpp_enum.Foo()
|
||||
|
||||
if f.hola != f.Hello:
|
||||
print f.hola
|
||||
raise RuntimeError
|
||||
|
||||
f.hola = f.Hi
|
||||
if f.hola != f.Hi:
|
||||
print f.hola
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue