Assert_LWord_NotEqual (FUN) ¶ FUNCTION Assert_LWord_NotEqual : BOOL Assertion function to check unequality of two values of type LWORD InOut: Scope Name Type Initial Comment Return Assert_LWord_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 LWORD The reference value actualValue LWORD 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 .
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)
Assert_SInt_Equal (FUN) ¶ FUNCTION Assert_SInt_Equal : BOOL Assertion function to check equality of two values of type SINT InOut: Scope Name Type Initial Comment Return Assert_SInt_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 SINT The expected value actualValue SINT 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_SInt_Greater (FUN) ¶ FUNCTION Assert_SInt_Greater : BOOL Assertion function to check that a value of SINT is greater then the given threshold InOut: Scope Name Type Initial Comment Return Assert_SInt_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 SINT The value indicating the threshold actualValue SINT 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_SInt_Less (FUN) ¶ FUNCTION Assert_SInt_Less : BOOL Assertion function to check that a value of SINT is less then the given threshold InOut: Scope Name Type Initial Comment Return Assert_SInt_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 SINT The value indicating the threshold actualValue SINT 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_SInt_GreaterEqual (FUN) ¶ FUNCTION Assert_SInt_GreaterEqual : BOOL Assertion function to check that a value of SINT is greater or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_SInt_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 SINT The value indicating the threshold actualValue SINT 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_SInt_LessEqual (FUN) ¶ FUNCTION Assert_SInt_LessEqual : BOOL Assertion function to check that a value of SINT is less or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_SInt_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 SINT The value indicating the threshold actualValue SINT 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_SInt_NotEqual (FUN) ¶ FUNCTION Assert_SInt_NotEqual : BOOL Assertion function to check unequality of two values of type SINT InOut: Scope Name Type Initial Comment Return Assert_SInt_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 SINT The reference value actualValue SINT 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_UInt_Greater (FUN) ¶ FUNCTION Assert_UInt_Greater : BOOL Assertion function to check that a value of UINT is greater then the given threshold InOut: Scope Name Type Initial Comment Return Assert_UInt_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 UINT The value indicating the threshold actualValue UINT 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_UInt_Equal (FUN) ¶ FUNCTION Assert_UInt_Equal : BOOL Assertion function to check equality of two values of type UINT InOut: Scope Name Type Initial Comment Return Assert_UInt_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 UINT The expected value actualValue UINT 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 .