valueIsLessThan
Short summary
This assertion method checks if the current value is less than the greater value
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| currentValue | LTIME | current value to check | input |
| greaterValue | LTIME | greater than upper limit | input |
| message | AssertMessage | message if the assertion is false | input |
Code
Declaration
METHOD valueIsLessThan
VAR_INPUT
(* current value to check *)
currentValue :LTIME;
(* greater than upper limit *)
greaterValue :LTIME;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR