swig/Examples/test-suite/python/smart_pointer_rename_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

13 lines
192 B
Python

from smart_pointer_rename import *
f = Foo()
b = Bar(f)
if b.test() != 3:
raise RuntimeError
if b.ftest1(1) != 1:
raise RuntimeError
if b.ftest2(2, 3) != 2:
raise RuntimeError