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

Test for equality More...

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

Public Attributes

Term[] term
 Represents the operands which shall be tested for equality. Terms shall be evaluated in the order of appearance in the OTX document. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Store additional More...
 

Detailed Description

Test for equality

IsEqual is a BooleanTerm which tests for equality of two or more operands. For SimpleTerm arguments, true is returned if and only if the values of all terms are equal. For terms returning a reference value (e.g. a reference to a List or Map), true is returned if and only if the references returned by all terms are equal.

Checker rules
CheckerRule.Core_Chk049 – uniform relation operand type

Syntax
BooleanTerm = Term1 == Term2;
Examples
// Local Declarations
Integer MyValue1 = 12;
Float MyValue2 = 12.0;
String MyValue3 = "abcd";
Boolean result;
// Flow
result = MyValue1 == MyValue2;
result = MyValue3 == "abc";

Member Data Documentation

◆ term

Term [] OpenTestSystem.Otx.Core.Terms.IsEqual.term

Represents the operands which shall be tested for equality. Terms shall be evaluated in the order of appearance in the OTX document.