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)
Assert_USint_Equal (FUN) ¶ FUNCTION Assert_USint_Equal : BOOL Assertion function to check equality of two values of type USINT InOut: Scope Name Type Initial Comment Return Assert_USint_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 USINT The expected value actualValue USINT 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_USint_Greater (FUN) ¶ FUNCTION Assert_USint_Greater : BOOL Assertion function to check that a value of USINT is greater then the given threshold InOut: Scope Name Type Initial Comment Return Assert_USint_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 USINT The value indicating the threshold actualValue USINT 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_Word_Less (FUN) ¶ FUNCTION Assert_Word_Less : BOOL Assertion function to check that a value of WORD is less then the given threshold InOut: Scope Name Type Initial Comment Return Assert_Word_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 WORD The value indicating the threshold actualValue WORD 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_Word_LessEqual (FUN) ¶ FUNCTION Assert_Word_LessEqual : BOOL Assertion function to check that a value of WORD is less or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_Word_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 WORD The value indicating the threshold actualValue WORD 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_Word_NotEqual (FUN) ¶ FUNCTION Assert_Word_NotEqual : BOOL Assertion function to check unequality of two values of type WORD InOut: Scope Name Type Initial Comment Return Assert_Word_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 WORD The reference value actualValue WORD 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 .
String ¶ STRING Assert_String_Contains (Function) Assert_String_ContainsNot (Function) Assert_String_EndsWith (Function) Assert_String_Equal (Function) Assert_String_NotEqual (Function) Assert_String_StartsWith (Function) Assert_String_StrCmpEndA (Function) Assert_String_StrCmpStartA (Function) WSTRING Assert_WString_Contains (Function) Assert_WString_ContainsNot (Function) Assert_WString_Equal (Function) Assert_WString_NotEqual (Function)
STRING ¶ Assert_String_Contains (Function) Assert_String_ContainsNot (Function) Assert_String_EndsWith (Function) Assert_String_Equal (Function) Assert_String_NotEqual (Function) Assert_String_StartsWith (Function) Assert_String_StrCmpEndA (Function) Assert_String_StrCmpStartA (Function)
Assert_LInt_GreaterEqual (FUN) ¶ FUNCTION Assert_LInt_GreaterEqual : BOOL Assertion function to check that a value of LINT is greater or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_LInt_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 LINT The value indicating the threshold actualValue LINT 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_LInt_Less (FUN) ¶ FUNCTION Assert_LInt_Less : BOOL Assertion function to check that a value of LINT is less then the given threshold InOut: Scope Name Type Initial Comment Return Assert_LInt_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 LINT The value indicating the threshold actualValue LINT 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 .