Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Constraint specifying expected size of array
HasSize(
provides
a constraint that specifies an expected size of an array. The constraint
is satisfied if the actual value array size is equal to the size specified
by sizeVal
)sizeVal
.
|
Size a value must have to satisfy the constraint. |
|
Size a value must have to satisfy the constraint. Set this property
through the constructor via the |
Value. To learn how value classes affect copy operations, see Copying Objects.
HasElementCount
| HasLength
| IsEmpty
| size