Add more runtime typedef_classforward_same_name runtime testing

This commit is contained in:
William S Fulton 2017-12-31 16:25:55 +00:00
commit ce6960de92
3 changed files with 27 additions and 6 deletions

View file

@ -0,0 +1,11 @@
from typedef_classforward_same_name import *
foo = Foo()
foo.x = 5
if extractFoo(foo) != 5:
raise RuntimeError("unexpected value")
boo = Boo()
boo.x = 5
if extractBoo(boo) != 5:
raise RuntimeError("unexpected value")