Octave: error() must be called with an argument
This commit is contained in:
parent
01a2d5fe4c
commit
251ab662bf
77 changed files with 308 additions and 308 deletions
|
|
@ -10,23 +10,23 @@ b = Bar(f);
|
|||
|
||||
|
||||
if (f.test(3) != 1)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
if (f.test(3.5) != 2)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
if (f.test("hello") != 3)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (b.test(3) != 1)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
if (b.test(3.5) != 2)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
if (b.test("hello") != 3)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue