Main Content
matlab.unittest.constraints.IsGreaterThan Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.Constraint
Test if value is greater than specified value
Description
The matlab.unittest.constraints.IsGreaterThan
class provides a constraint
to test if a numeric value is greater than another value.
Creation
Description
c = matlab.unittest.constraints.IsGreaterThan(floorValue)
creates a constraint to test if a value is greater than floorValue
and
sets the FloorValue
property. The sizes of the values being compared must
be the same or be compatible. For more information about compatible arrays, see Compatible Array Sizes for Basic Operations.
Properties
Examples
Version History
Introduced in R2013a