Assert_LDate_NotEqual (FUN) ¶ FUNCTION Assert_LDate_NotEqual : BOOL Assertion function to check unequality of two values of type LDATE InOut: Scope Name Type Initial Comment Return Assert_LDate_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 LDATE The reference value actualValue LDATE 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 .
LDATE_AND_TIME ¶ Assert_LDateAndTime_Equal (Function) Assert_LDateAndTime_Greater (Function) Assert_LDateAndTime_GreaterEqual (Function) Assert_LDateAndTime_Less (Function) Assert_LDateAndTime_LessEqual (Function) Assert_LDateAndTime_NotEqual (Function)
Assert_LDateAndTime_Equal (FUN) ¶ FUNCTION Assert_LDateAndTime_Equal : BOOL Assertion function to check equality of two values of type LDATE_AND_TIME InOut: Scope Name Type Initial Comment Return Assert_LDateAndTime_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 LDATE_AND_TIME The expected value 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_Greater (FUN) ¶ FUNCTION Assert_LDateAndTime_Greater : BOOL Assertion function to check that a value of LDATE_AND_TIME is greater then the given threshold InOut: Scope Name Type Initial Comment Return Assert_LDateAndTime_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 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_GreaterEqual (FUN) ¶ FUNCTION Assert_LDateAndTime_GreaterEqual : BOOL Assertion function to check that a value of LDATE_AND_TIME is greater or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_LDateAndTime_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 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 .
Bool ¶ Assert_ArrayOfBool_Contains (Function) Assert_ArrayOfBool_ContainsNot (Function) Assert_ArrayOfBool_ContainsSequence (Function) Assert_ArrayOfBool_Equal (Function) Assert_ArrayOfBool_NotEqual (Function)
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 .