matlab.unittest.constraints.HasSize class
Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Constraint specifying expected size of array
Construction
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
.
Input Arguments
|
Size a value must have to satisfy the constraint. |
Properties
|
Size a value must have to satisfy the constraint. Set this property
through the constructor via the |
Copy Semantics
Value. To learn how value classes affect copy operations, see Copying Objects.
Examples
See Also
IsEmpty
| HasElementCount
| HasLength
| size