matlab.unittest.constraints.IsSupersetOf class
Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Test if actual set is superset of expected set
Construction
IsSupersetOf(
creates
a constraint specifying that the actual value set is a superset of
the expected value set. The constraint produces a qualification failure
for any actual value set that is not a superset of the expected value
set. An actual value set is considered a superset of the expected
value set if expSet
)ismember(expSet,actSet)
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