Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Constraint specifying actual set is subset of expected set
IsSubsetOf(
creates
a constraint specifying that the actual value set is a subset of the
expected value set. The constraint produces a qualification failure
for any actual value set that is not a subset of the expected value
set. An actual value set is considered a subset of the expected value
set if expSet
)ismember(actSet,expSet)
contains all true
values and the actual and expected values satisfy one of the following
conditions:
The actual and expected values are of the same class.
The actual value is an object.
The expected value is an object.
Value. To learn how value classes affect copy operations, see Copying Objects.
ismember
| matlab.unittest.constraints
| matlab.unittest.constraints.IsSameSetAs
| matlab.unittest.constraints.IsSupersetOf