update swig on windows
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import overload_extend
|
||||
|
||||
f = overload_extend.Foo()
|
||||
if f.test() != 0:
|
||||
raise RuntimeError
|
||||
if f.test(3) != 1:
|
||||
raise RuntimeError
|
||||
if f.test("hello") != 2:
|
||||
raise RuntimeError
|
||||
if f.test(3, 2) != 5:
|
||||
raise RuntimeError
|
||||
if f.test(3.0) != 1003:
|
||||
raise RuntimeError
|
||||
Reference in New Issue
Block a user