valueIsMin
Short summary
This assertion method checks if the current value is greater than or equal to the minimum value
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| currentValue | LDT | current value to check | input |
| minimumValue | LDT | lower limit for the current value | input |
| message | AssertMessage | message if the assertion is false | input |
Code
Declaration
METHOD valueIsMin
VAR_INPUT
(* current value to check *)
currentValue :LDT;
(* lower limit for the current value *)
minimumValue :LDT;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR