Add more runtime typedef_classforward_same_name runtime testing
This commit is contained in:
parent
3617e22fda
commit
ce6960de92
3 changed files with 27 additions and 6 deletions
|
|
@ -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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue