mirror of https://github.com/swig/swig
add runme test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0bcc1a43ae
commit
45eb8849fd
|
@ -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…
Reference in New Issue