added template test

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-03-23 01:12:06 +00:00
commit 374de2b261
2 changed files with 35 additions and 1 deletions

View file

@ -11,6 +11,7 @@ if aa.a != 3:
if aa.b != 2:
print aa.b
raise RuntimeError
aa.b = 5
if aa.b != 5:
@ -26,3 +27,11 @@ if aa.c != 3:
#aa.c = 5
#if aa.c != 3:
# raise RuntimeError
pi = attributetest.Param_i(7)
if pi.value != 7:
raise RuntimeError
pi.value=3
if pi.value != 3:
raise RuntimeError