add runme test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a59ceff827
commit
6c80ef2f7b
1 changed files with 8 additions and 0 deletions
8
SWIG/Examples/test-suite/python/ret_by_value_runme.py
Normal file
8
SWIG/Examples/test-suite/python/ret_by_value_runme.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import ret_by_value
|
||||
|
||||
a = ret_by_value.get_test()
|
||||
if a.myInt != 100:
|
||||
raise RuntimeError
|
||||
|
||||
if a.myShort != 200:
|
||||
raise RuntimeError
|
||||
Loading…
Add table
Add a link
Reference in a new issue