swig/Examples/test-suite/python/iadd_runme.py
Jon Schlueter b77f3afafb autopep8 cleanup of Examples/test-suite/python
automated cleanup of python pep8 whitespace compliance
2015-05-08 21:35:52 -04:00

9 lines
97 B
Python

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