rename overload_extendc testcase
This commit is contained in:
parent
a00b4f4463
commit
0bd41dc14d
7 changed files with 11 additions and 11 deletions
15
Examples/test-suite/scilab/overload_extend2_runme.sci
Normal file
15
Examples/test-suite/scilab/overload_extend2_runme.sci
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
exec("swigtest.start", -1);
|
||||
|
||||
try
|
||||
x = new_Foo();
|
||||
catch
|
||||
swigtesterror();
|
||||
end
|
||||
if Foo_test(x, 1) <> 1 then swigtesterror(); end
|
||||
if Foo_test(x, "Hello swig!") <> 2 then swigtesterror(); end
|
||||
if Foo_test(x, 2, 3) <> 3 then swigtesterror(); end
|
||||
if Foo_test(x, x) <> 30 then swigtesterror(); end
|
||||
if Foo_test(x, x, 4) <> 24 then swigtesterror(); end
|
||||
if Foo_test(x, x, 4, 5) <> 9 then swigtesterror(); end
|
||||
|
||||
exec("swigtest.quit", -1);
|
||||
Loading…
Add table
Add a link
Reference in a new issue