new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d685c8a688
commit
3dd532f7d8
5 changed files with 70 additions and 0 deletions
10
SWIG/Examples/test-suite/python/template_extend1_runme.py
Normal file
10
SWIG/Examples/test-suite/python/template_extend1_runme.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import template_extend1
|
||||
|
||||
a = template_extend1.lBaz()
|
||||
b = template_extend1.dBaz()
|
||||
|
||||
if a.foo() != "lBaz::foo":
|
||||
raise RuntimeError
|
||||
|
||||
if b.foo() != "dBaz::foo":
|
||||
raise RuntimeError
|
||||
Loading…
Add table
Add a link
Reference in a new issue