swig/Examples/test-suite/python/ret_by_value_runme.py
Marcelo Matus 45eb8849fd add runme test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 02:31:30 +00:00

8 lines
136 B
Python

import ret_by_value
a = ret_by_value.get_test()
if a.myInt != 100:
raise RuntimeError
if a.myShort != 200:
raise RuntimeError