scilab: check in enums test that enum is returned as double

This commit is contained in:
Simon Marchetto 2014-02-11 16:24:31 +01:00
commit 1222a28af6

View file

@ -1,5 +1,10 @@
exec("swigtest.start", -1);
if typeof(CSP_ITERATION_FWD_get()) <> "constant" then swigtesterror(); end
if typeof(CSP_ITERATION_BWS_get()) <> "constant" then swigtesterror(); end
if typeof(ABCDE_get()) <> "constant" then swigtesterror(); end
if typeof(FGHI_get()) <> "constant" then swigtesterror(); end
try
bar1(CSP_ITERATION_FWD_get())
bar1(CSP_ITERATION_BWD_get())