/trunk/Examples/test-suite/python/smart_pointer_rename_runme.py
# · Python · 13 lines · 9 code · 4 blank · 0 comment · 3 complexity · 9da84abe81561e9feb77ac0a73f97e59 MD5 · raw file
- 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