matlab.unittest.constraints.IsSubsetOf class
Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Test if actual set is subset of expected set
Construction
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.
Input Arguments
Properties
Copy Semantics
Value. To learn how value classes affect copy operations, see Copying Objects.
Examples
Version History
Introduced in R2016a