new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c775a83888
commit
df9d00e60d
5 changed files with 70 additions and 0 deletions
10
Examples/test-suite/python/template_extend1_runme.py
Normal file
10
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
|
||||
10
Examples/test-suite/python/template_extend2_runme.py
Normal file
10
Examples/test-suite/python/template_extend2_runme.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import template_extend2
|
||||
|
||||
a = template_extend2.lBaz()
|
||||
b = template_extend2.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