Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Constraint specifying array containing NaN value
HasNaN
creates
a constraint that is able to determine if any value of an actual value
array is NaN
. This constraint is satisfied only
if the actual value array contains at least one NaN
value.
Value. To learn how value classes affect copy operations, see Copying Objects in the MATLAB® documentation.