OTX Reference  
OpenTestSystem.Otx.Core.Terms.IsLessOrEqual Class Reference

Checks the left value is less or equal than the right value More...

Inheritance diagram for OpenTestSystem.Otx.Core.Terms.IsLessOrEqual:
Inheritance graph

Public Attributes

SimpleTerm left
 Represents the value that has to be less or equal than the <right> value More...
 
SimpleTerm right
 Represents the value that has to be greater or equal than the <left> value More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Checks the left value is less or equal than the right value

IsLessOrEqual is a BooleanTerm. Returns true if and only if the left value is less or equal than the right value.

Checker rules
CheckerRule.Core_Chk049 – uniform relation operand type

Syntax
BooleanTerm = SimpleTerm1 <= SimpleTerm2;
Examples
// Local Declarations
Float MyValue2 = 12.000001;
String MyValue3 = "B";
Boolean result;
// Flow
result = MyValue1 <= MyValue2;
result = MyValue3 <= "A";
result = MyValue3 <= "B";
result = MyValue3 <= "C";

Member Data Documentation

◆ left

SimpleTerm OpenTestSystem.Otx.Core.Terms.IsLessOrEqual.left

Represents the value that has to be less or equal than the <right> value

◆ right

SimpleTerm OpenTestSystem.Otx.Core.Terms.IsLessOrEqual.right

Represents the value that has to be greater or equal than the <left> value