| << assert_isfalse | Assertion functions |
| assert_istrue(x) |
| r = assert_istrue(x) |
| [r, msg] = assert_istrue(x) |
| assert_istrue(x, err_msg) |
| r = assert_istrue(x, err_msg) |
| [r, msg] = assert_istrue(x, err_msg) |
a logical value
a string, the error message to be printed in case of failure (optional).
a logical value
a string value, the error message. If x == true, then msg == ''. If x == false, then msg contains the error message.
assert_istrue(3 == 3)
assert_istrue(3 == 4)
r = assert_istrue(false)
[r, msg] = assert_istrue(false)
[r, msg] = assert_istrue(3 == 4, 'your error message.')
assert_isfalse, assert_checkerror.
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET