Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Constraint specifying substring of another string
IsSubstringOf( creates
a constraint specifying a substring of another string scalar or character
vector. The constraint is satisfied only if the actual value is contained
within an expected superstring, superstring)superstring.
IsSubstringOf( provides
a constraint with additional options specified by one or more superstring,Name,Value)Name,Value pair
arguments. Name must
appear inside single quotes (''). You can specify
several name-value pair arguments in any order as Name1,Value1,...,NameN,ValueN.
|
Text that contains the actual value, specified as a string scalar
or character vector. |
Specify optional
comma-separated pairs of Name,Value arguments. Name is
the argument name and Value is the corresponding value.
Name must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN.
|
Indicator to ignore case, specified as Default: |
|
Indicator to ignore whitespace, specified as
Note When Default: |
|
Number of times The testing framework uses the |
|
Indicator if the constraint is insensitive to case, specified in the name-value pair argument,
|
|
Indicator if the constraint is insensitive to whitespace, specified in the name-value pair
argument, |
|
Superstring that includes the actual value, specified in the input argument,
|
Value. To learn how value classes affect copy operations, see Copying Objects.
ContainsSubstring | EndsWithSubstring | Matches | StartsWithSubstring