/trunk/Examples/test-suite/python/ret_by_value_runme.py
Python | 8 lines | 6 code | 2 blank | 0 comment | 2 complexity | ce9d7857b6ef387163619966236096df MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- import ret_by_value
- a = ret_by_value.get_test()
- if a.myInt != 100:
- raise RuntimeError
- if a.myShort != 200:
- raise RuntimeError