git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
12 lines
249 B
Scilab
12 lines
249 B
Scilab
exec("swigtest.start", -1);
|
|
|
|
try
|
|
initArray();
|
|
catch
|
|
swigtesterror();
|
|
end
|
|
|
|
if x_get() <> int32([0,1,2,3,4,5,6,7,8,9]) then swigtesterror(); end
|
|
if y_get() <> [0/7,1/7,2/7,3/7,4/7,5/7,6/7] then swigtesterror(); end
|
|
|
|
exec("swigtest.quit", -1);
|