Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/scilab/inout_runme.sci
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

16 lines
307 B
Scilab

exec("swigtest.start", -1);
a = AddOne1(10);
if a <> 11 then swigtesterror(); end
[a, b, c] = AddOne3(1, 2, 3);
if a <> 2 then swigtesterror(); end
if b <> 3 then swigtesterror(); end
if c <> 4 then swigtesterror(); end
a = AddOne1r(20);
if a <> 21 then swigtesterror(); end
exec("swigtest.quit", -1);