Create a test case for interactive testing.
Test that false
satisfies the IsFalse
constraint.
Interactive verification passed.
Test that the IsFalse
constraint is
not satisfied by true
.
Interactive verification failed.
---------------------
Framework Diagnostic:
---------------------
IsFalse failed.
--> The value must evaluate to "false".
Actual Value:
1
The test fails because true
returns logical(1)
.
Test that the IsFalse
constraint is
not satisfied by the double 0
.
Interactive verification failed.
---------------------
Framework Diagnostic:
---------------------
IsFalse failed.
--> The value must be logical. It is of type "double".
Actual Value:
0
The IsFalse
constraint is satisfied only
by logical(0)
.
Test that the IsFalse
constraint is
not satisfied by a logical array of zeros.
Interactive verification failed.
---------------------
Framework Diagnostic:
---------------------
IsFalse failed.
--> The value must be scalar. It has a size of [1 3].
Actual Value:
0 0 0
The IsFalse
constraint is only satisfied
if the value is scalar and logical(0)
.