scilab: implement test template_rename
This commit is contained in:
parent
30a1a84a58
commit
0c4f2ea697
1 changed files with 15 additions and 0 deletions
15
Examples/test-suite/scilab/template_rename_runme.sci
Normal file
15
Examples/test-suite/scilab/template_rename_runme.sci
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
exec("swigtest.start", -1);
|
||||
|
||||
i = new_iFoo();
|
||||
checkequal(iFoo_blah_test(i, 4), 4, "iFoo_blah_test(i, 4) test fails");
|
||||
checkequal(iFoo_spam_test(i, 5), 5, "iFoo_spam_test(i, 5) test fails");
|
||||
checkequal(iFoo_groki_test(i, 6), 6, "iFoo_groki_test(i, 6) test fails");
|
||||
delete_iFoo(i);
|
||||
|
||||
d = new_iFoo();
|
||||
checkequal(dFoo_blah_test(d, 4), 4, "dFoo_blah_test(d, 4) test fails");
|
||||
checkequal(dFoo_spam(d, 5), 5, "dFoo_spam_test(d, 5) test fails");
|
||||
checkequal(dFoo_grok_test(d, 6), 6, "dFoo_groki_test(d, 6) test fails");
|
||||
delete_dFoo(d);
|
||||
|
||||
exec("swigtest.quit", -1);
|
||||
Loading…
Add table
Add a link
Reference in a new issue