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

10 lines
97 B
Python

import iadd
f = iadd.Foo()
f.AsA.x = 3
f.AsA += f.AsA
if f.AsA.x != 6:
raise RuntimeError