WORD ¶ Assert_ArrayOfWord_Contains (Function) Assert_ArrayOfWord_ContainsAllOf (Function) Assert_ArrayOfWord_ContainsNoneOf (Function) Assert_ArrayOfWord_ContainsNot (Function) Assert_ArrayOfWord_ContainsOneOf (Function) Assert_ArrayOfWord_ContainsSequence (Function) Assert_ArrayOfWord_Equal (Function) Assert_ArrayOfWord_NotEqual (Function)
String ¶ STRING Assert_ArrayOfString_Contains (Function) Assert_ArrayOfString_ContainsAllOf (Function) Assert_ArrayOfString_ContainsNoneOf (Function) Assert_ArrayOfString_ContainsNot (Function) Assert_ArrayOfString_ContainsOneOf (Function) Assert_ArrayOfString_ContainsSequence (Function) Assert_ArrayOfString_Equal (Function) Assert_ArrayOfString_NotEqual (Function) WSTRING Assert_ArrayOfWString_Contains (Function) Assert_ArrayOfWString_ContainsAllOf (Function) Assert_ArrayOfWString_ContainsNoneOf (Function) Assert_ArrayOfWString_ContainsNot (Function) Assert_ArrayOfWString_ContainsOneOf (Function) Assert_ArrayOfWString_ContainsSequence (Function) Assert_ArrayOfWString_Equal (Function) Assert_ArrayOfWString_NotEqual (Function)
STRING ¶ Assert_ArrayOfString_Contains (Function) Assert_ArrayOfString_ContainsAllOf (Function) Assert_ArrayOfString_ContainsNoneOf (Function) Assert_ArrayOfString_ContainsNot (Function) Assert_ArrayOfString_ContainsOneOf (Function) Assert_ArrayOfString_ContainsSequence (Function) Assert_ArrayOfString_Equal (Function) Assert_ArrayOfString_NotEqual (Function)
REAL ¶ Assert_Real_Equal (Function) Assert_Real_Greater (Function) Assert_Real_GreaterEqual (Function) Assert_Real_Less (Function) Assert_Real_LessEqual (Function) Assert_Real_NotEqual (Function)
Assert_Real_Equal (FUN) ¶ FUNCTION Assert_Real_Equal : BOOL Assertion function to check equality of two values of type REAL The assertion passes for (referenceValue - precision) <= actualValue AND (referenceValue + precision) >= actualValue InOut: Scope Name Type Initial Comment Return Assert_Real_Equal BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue REAL The expected value actualValue REAL The value to check precision REAL 0.0 A value to specify an allowed deviation. Default is 0.0 wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_Real_Greater (FUN) ¶ FUNCTION Assert_Real_Greater : BOOL Assertion function to check that a value of REAL is greater then the given threshold InOut: Scope Name Type Initial Comment Return Assert_Real_Greater BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue REAL The value indicating the threshold actualValue REAL The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_Real_GreaterEqual (FUN) ¶ FUNCTION Assert_Real_GreaterEqual : BOOL Assertion function to check that a value of REAL is greater or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_Real_GreaterEqual BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue REAL The value indicating the threshold actualValue REAL The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_Real_Less (FUN) ¶ FUNCTION Assert_Real_Less : BOOL Assertion function to check that a value of REAL is less then the given threshold InOut: Scope Name Type Initial Comment Return Assert_Real_Less BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue REAL The value indicating the threshold actualValue REAL The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_Real_LessEqual (FUN) ¶ FUNCTION Assert_Real_LessEqual : BOOL Assertion function to check that a value of REAL is less or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_Real_LessEqual BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue REAL The value indicating the threshold actualValue REAL The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_Real_NotEqual (FUN) ¶ FUNCTION Assert_Real_NotEqual : BOOL Assertion function to check unequality of two values of type REAL The assertion passes for (referenceValue - precision) > actualValue AND (referenceValue + precision) > actualValue InOut: Scope Name Type Initial Comment Return Assert_Real_NotEqual BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue REAL The reference value actualValue REAL The value to check precision REAL 0.0 A value to specify an allowed deviation. Default is 0.0 wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .