scilab: implement cpp_enum test

This commit is contained in:
Simon Marchetto 2014-03-03 17:55:06 +01:00
commit 9ecb38976d

View file

@ -0,0 +1,10 @@
exec("swigtest.start", -1);
f = new_Foo();
if Foo_hola_get(f) <> Hello_get() then swigtesterror("Foo_hola_get() <> ""Hello"""); end
Foo_hola_set(f, Hi_get());
if Foo_hola_get(f) <> Hi_get() then swigtesterror("Foo_hola_get() <> ""Hi"""); end
exec("swigtest.quit", -1);