Files
cpp-thirdparty/winx64/bin/swigwin-4.0.0/Examples/test-suite/python/grouping_runme.py
2019-08-04 21:38:19 -05:00

15 lines
221 B
Python

import grouping
x = grouping.test1(42)
if x != 42:
raise RuntimeError
grouping.test2(42)
x = grouping.do_unary(37, grouping.NEGATE)
if x != -37:
raise RuntimeError
grouping.cvar.test3 = 42
grouping.test3 = 42