AssertStrictLarger

The AssertStrictlyLarger method tests whether a value (the result of a test) is strictly greater than a defined threshold.
Syntax
METHOD PROTECTED AssertStrictlyLarger
VAR_INPUT
actual : LREAL;
border : LREAL;
message : STRING(255) := ''; // optional assert message
END_VAR
Inputs
Name | Type | Description |
|---|---|---|
actual | LREAL | Value determined by executing the test case |
border | LREAL | The threshold against which the calculated value is compared. |
message | STRING(255) | Error message if the test fails. |
Example
AssertStrictlyLarger (actual:= result, Border:= BorderValue, message:= ‘Error message to be displayed in the client!')