PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1from smart_pointer_rename import *
 2
 3f = Foo()
 4b = Bar(f)
 5
 6if b.test() != 3:
 7    raise RuntimeError
 8
 9if b.ftest1(1) != 1:
10    raise RuntimeError
11
12if b.ftest2(2,3) != 2:
13    raise RuntimeError