more cases, and C/C++ compatibility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2feaa15679
commit
200111d52d
3 changed files with 10 additions and 4 deletions
|
|
@ -7,7 +7,8 @@ if f.test(3) != 1:
|
|||
raise RuntimeError
|
||||
if f.test("hello") != 2:
|
||||
raise RuntimeError
|
||||
if f.test(3.5,2.5) != 3:
|
||||
if f.test(3,2) != 5:
|
||||
raise RuntimeError
|
||||
if f.test(3.0) != 1003:
|
||||
raise RuntimeError
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue