* A C and CPP tests generate and compile except tests using vectors (to be done) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
13 lines
338 B
Scilab
13 lines
338 B
Scilab
exec("swigtest.start", -1);
|
|
|
|
//try
|
|
// x = new_Foo();
|
|
//catch
|
|
// swigtesterror();
|
|
//end
|
|
//if Foo_test(x) <> 0 then swigtesterror(); end
|
|
//if Foo_test(x, 1) <> 1 then swigtesterror(); end
|
|
//if Foo_test(x, 2, 3) <> 5 then swigtesterror(); end
|
|
//if Foo_test(x, "Hello, swig!") <> 2 then swigtesterror(); end
|
|
|
|
exec("swigtest.quit", -1);
|