summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/smart_pointer_rename_runme.py
blob: 785f69e64143d2b164b44a30058d747276551bae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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