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 .
Integer ¶ BYTE Assert_Byte_Equal (Function) Assert_Byte_Greater (Function) Assert_Byte_GreaterEqual (Function) Assert_Byte_Less (Function) Assert_Byte_LessEqual (Function) Assert_Byte_NotEqual (Function) DINT Assert_DInt_Equal (Function) Assert_DInt_Greater (Function) Assert_DInt_GreaterEqual (Function) Assert_DInt_Less (Function) Assert_DInt_LessEqual (Function) Assert_DInt_NotEqual (Function) DWORD Assert_DWord_Equal (Function) Assert_DWord_Greater (Function) Assert_DWord_GreaterEqual (Function) Assert_DWord_Less (Function) Assert_DWord_LessEqual (Function) Assert_DWord_NotEqual (Function) INT Assert_Int_Equal (Function) Assert_Int_Greater (Function) Assert_Int_GreaterEqual (Function) Assert_Int_Less (Function) Assert_Int_LessEqual (Function) Assert_Int_NotEqual (Function) LINT Assert_LInt_Equal (Function) Assert_LInt_Greater (Function) Assert_LInt_GreaterEqual (Function) Assert_LInt_Less (Function) Assert_LInt_LessEqual (Function) Assert_LInt_NotEqual (Function) LWORD Assert_LWord_Equal (Function) Assert_LWord_Greater (Function) Assert_LWord_GreaterEqual (Function) Assert_LWord_Less (Function) Assert_LWord_LessEqual (Function) Assert_LWord_NotEqual (Function) SINT Assert_SInt_Equal (Function) Assert_SInt_Greater (Function) Assert_SInt_GreaterEqual (Function) Assert_SInt_Less (Function) Assert_SInt_LessEqual (Function) Assert_SInt_NotEqual (Function) UDINT Assert_UDInt_Equal (Function) Assert_UDInt_Greater (Function) Assert_UDInt_GreaterEqual (Function) Assert_UDInt_Less (Function) Assert_UDInt_LessEqual (Function) Assert_UDInt_NotEqual (Function) UINT Assert_UInt_Equal (Function) Assert_UInt_Greater (Function) Assert_UInt_GreaterEqual (Function) Assert_UInt_Less (Function) Assert_UInt_LessEqual (Function) Assert_UInt_NotEqual (Function) ULINT Assert_ULInt_Equal (Function) Assert_ULInt_Greater (Function) Assert_ULInt_GreaterEqual (Function) Assert_ULInt_Less (Function) Assert_ULInt_LessEqual (Function) Assert_ULInt_NotEqual (Function) USINT Assert_USint_Equal (Function) Assert_USint_Greater (Function) Assert_USint_GreaterEqual (Function) Assert_USint_Less (Function) Assert_USint_LessEqual (Function) Assert_USint_NotEqual (Function) WORD Assert_Word_Equal (Function) Assert_Word_Greater (Function) Assert_Word_GreaterEqual (Function) Assert_Word_Less (Function) Assert_Word_LessEqual (Function) Assert_Word_NotEqual (Function)
Assert_TimeOfDay_Equal (FUN) ¶ FUNCTION Assert_TimeOfDay_Equal : BOOL Assertion function to check equality of two values of type TIME_OF_DAY InOut: Scope Name Type Initial Comment Return Assert_TimeOfDay_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 TOD The expected value actualValue TOD 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_TimeOfDay_Greater (FUN) ¶ FUNCTION Assert_TimeOfDay_Greater : BOOL Assertion function to check that a value of TIME_OF_DAY is greater then the given threshold InOut: Scope Name Type Initial Comment Return Assert_TimeOfDay_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 TOD The value indicating the threshold actualValue TOD 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_TimeOfDay_GreaterEqual (FUN) ¶ FUNCTION Assert_TimeOfDay_GreaterEqual : BOOL Assertion function to check that a value of TIME_OF_DAY is greater or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_TimeOfDay_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 TOD The value indicating the threshold actualValue TOD 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_TimeOfDay_Less (FUN) ¶ FUNCTION Assert_TimeOfDay_Less : BOOL Assertion function to check that a value of TIME_OF_DAY is less then the given threshold InOut: Scope Name Type Initial Comment Return Assert_TimeOfDay_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 TOD The value indicating the threshold actualValue TOD 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 .