matlab.unittest.constraints.IsLessThan Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.Constraint
Test if value is less than specified value
Description
The matlab.unittest.constraints.IsLessThan
class provides a constraint to
test if a numeric value is less than another value.
Creation
Description
c = matlab.unittest.constraints.IsLessThan(ceilingValue)
creates a constraint to test if a value is less than ceilingValue
and
sets the CeilingValue
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