Class: matlab.unittest.constraints.PublicPropertyComparator
Package: matlab.unittest.constraints
Comparator for public properties that supports any value in recursion
PublicPropertyComparator.supportingAllValues
creates
a comparator for public properties of MATLAB® objects. This comparator
supports any value in recursion. supportingAllValues
is
a Static
method of the PublicPropertyComparator
class.
PublicPropertyComparator.supportingAllValues(
creates a comparator for public properties of MATLAB objects with additional options specified by one or more
Name,Value
)Name,Value
pair arguments.
You typically pass this comparator to another constraint, such
as IsEqualTo
. You can use the Name,Value
pairs
of the IsEqualTo
constraint with a comparator constructed
with the PublicPropertyComparator.supportingAllValues
syntax.
The PublicPropertyComparator
does not
compare public properties of objects that overload the subsref
, numel
,
or properties
functions.