using for method with default args test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
18ecf1d54c
commit
e2603c47f0
2 changed files with 8 additions and 0 deletions
|
|
@ -5,3 +5,9 @@ f.x = 3
|
|||
|
||||
if f.blah(4) != 4:
|
||||
raise RuntimeError, "blah(int)"
|
||||
|
||||
if f.defaulted() != -1:
|
||||
raise RuntimeError, "defaulted()"
|
||||
|
||||
if f.defaulted(222) != 222:
|
||||
raise RuntimeError, "defaulted(222)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue