Assert_ArrayOfBool_Contains (FUN) ¶ FUNCTION Assert_ArrayOfBool_Contains : BOOL Assertion function to check that an ARRAY OF BOOL contains a specific value InOut: Scope Name Type Initial Comment Return Assert_ArrayOfBool_Contains 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 BOOL The value that should be contained actualArray POINTER TO BOOL The array 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_ArrayOfBool_ContainsNot (FUN) ¶ FUNCTION Assert_ArrayOfBool_ContainsNot : BOOL Assertion function to check that an ARRAY OF BOOL does not contain a specific value InOut: Scope Name Type Initial Comment Return Assert_ArrayOfBool_ContainsNot 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 BOOL The value that should not be contained actualArray POINTER TO BOOL The array 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_ArrayOfBool_ContainsSequence (FUN) ¶ FUNCTION Assert_ArrayOfBool_ContainsSequence : BOOL Assertion function to check that an ARRAY OF BOOL contains a specific sequence of values InOut: Scope Name Type Initial Comment Return Assert_ArrayOfBool_ContainsSequence 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^ . referenceArray POINTER TO BOOL The array with the sequence that should be contained actualArray POINTER TO BOOL The array 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_ArrayOfBool_Equal (FUN) ¶ FUNCTION Assert_ArrayOfBool_Equal : BOOL Assertion function to check that two ARRAY OF BOOL are equal. Two arrays are equal if all of the following conditions are met: * the two array have the same bounds * for each index the values of both arrays are equal InOut: Scope Name Type Initial Comment Return Assert_ArrayOfBool_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^ . referenceArray POINTER TO BOOL The reference array to check actualArray POINTER TO BOOL The array 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_ArrayOfBool_NotEqual (FUN) ¶ FUNCTION Assert_ArrayOfBool_NotEqual : BOOL Assertion function to check that two ARRAY OF BOOL are not equal. Two arrays are not equal if at least one of the following conditions is not met: * the two arrays have the same bounds * for each index the values of both arrays are equal InOut: Scope Name Type Initial Comment Return Assert_ArrayOfBool_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^ . referenceArray POINTER TO BOOL The reference array to check actualArray POINTER TO BOOL The array 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 .
Float ¶ LREAL Assert_ArrayOfLReal_Contains (Function) Assert_ArrayOfLReal_ContainsAllOf (Function) Assert_ArrayOfLReal_ContainsNoneOf (Function) Assert_ArrayOfLReal_ContainsNot (Function) Assert_ArrayOfLReal_ContainsOneOf (Function) Assert_ArrayOfLReal_ContainsSequence (Function) Assert_ArrayOfLReal_Equal (Function) Assert_ArrayOfLReal_NotEqual (Function) REAL Assert_ArrayOfReal_Contains (Function) Assert_ArrayOfReal_ContainsAllOf (Function) Assert_ArrayOfReal_ContainsNoneOf (Function) Assert_ArrayOfReal_ContainsNot (Function) Assert_ArrayOfReal_ContainsOneOf (Function) Assert_ArrayOfReal_ContainsSequence (Function) Assert_ArrayOfReal_Equal (Function) Assert_ArrayOfReal_NotEqual (Function)
LREAL ¶ Assert_ArrayOfLReal_Contains (Function) Assert_ArrayOfLReal_ContainsAllOf (Function) Assert_ArrayOfLReal_ContainsNoneOf (Function) Assert_ArrayOfLReal_ContainsNot (Function) Assert_ArrayOfLReal_ContainsOneOf (Function) Assert_ArrayOfLReal_ContainsSequence (Function) Assert_ArrayOfLReal_Equal (Function) Assert_ArrayOfLReal_NotEqual (Function)
REAL ¶ Assert_ArrayOfReal_Contains (Function) Assert_ArrayOfReal_ContainsAllOf (Function) Assert_ArrayOfReal_ContainsNoneOf (Function) Assert_ArrayOfReal_ContainsNot (Function) Assert_ArrayOfReal_ContainsOneOf (Function) Assert_ArrayOfReal_ContainsSequence (Function) Assert_ArrayOfReal_Equal (Function) Assert_ArrayOfReal_NotEqual (Function)
Assert_LDateAndTime_Less (FUN) ¶ FUNCTION Assert_LDateAndTime_Less : BOOL Assertion function to check that a value of LDATE_AND_TIME is less then the given threshold InOut: Scope Name Type Initial Comment Return Assert_LDateAndTime_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 LDATE_AND_TIME The value indicating the threshold actualValue LDATE_AND_TIME 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_LDateAndTime_LessEqual (FUN) ¶ FUNCTION Assert_LDateAndTime_LessEqual : BOOL Assertion function to check that a value of LDATE_AND_TIME is less or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_LDateAndTime_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 LDATE_AND_TIME The value indicating the threshold actualValue LDATE_AND_TIME 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 .