Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
scilab: fix li_std_set_as_argument test
  • Loading branch information
Simon Marchetto committed Mar 10, 2014
1 parent 3c01148 commit 2db941d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/test-suite/scilab/li_std_set_as_argument_runme.sci
Expand Up @@ -9,13 +9,13 @@ exec("swigtest.start", -1);
iset = create_integer_set(1, 4);
if ~exists("iset") | (iset <> [1 2 3 4]) then swigtesterror(); end
// get the sum of this set elements with sum_integer_set():")
isum = sum_integer_set(iset);
isum = sum_integer_set(int32(iset));
if ~exists("isum") | (isum <> 10) then swigtesterror(); end
// get a set of of int {3...6} from create_integer_set():");
iset2 = create_integer_set(3, 6);
if ~exists("iset2") | (iset2 <> [3 4 5 6]) then swigtesterror(); end
// concat the two sets with concat_integer_set():");
iset3 = concat_integer_set(iset, iset2);
iset3 = concat_integer_set(int32(iset), int32(iset2));
if ~exists("iset3") | (iset3 <> [1 2 3 4 5 6]) then swigtesterror(); end

// string sets
Expand Down

0 comments on commit 2db941d

Please sign in to comment.