Main Content
matlab.unittest.constraints.IsOfClass Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.BooleanConstraint
Test if class of value is specified class
Description
The matlab.unittest.constraints.IsOfClass
class provides a constraint to
test if the class of a value is a specified class.
The IsOfClass
constraint tests for exact class match. To test for inclusion
in a class hierarchy, use the IsInstanceOf
constraint.
Creation
Properties
Examples
Version History
Introduced in R2013a
See Also
matlab.unittest.constraints.IsInstanceOf
| verifyClass
| verifyThat
| class