scilab: fix test: <> => isequal to compare matrices
This commit is contained in:
parent
423faa7783
commit
2e61fda041
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ function testSequenceContainer(container, value_type, value1, value2, expected_a
|
||||||
end
|
end
|
||||||
ierr = execstr(cmd, "errcatch");
|
ierr = execstr(cmd, "errcatch");
|
||||||
checkerror(ierr, cmd);
|
checkerror(ierr, cmd);
|
||||||
if ~isdef('c') | c <> [value1, value2] then swigtesterror(); end
|
if ~isdef('c') | ~isequal(c, [value1, value2]) then swigtesterror(); end
|
||||||
|
|
||||||
if (value_type == "int") then
|
if (value_type == "int") then
|
||||||
c = int32(c);
|
c = int32(c);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue