valueIsNegative
Short summary
This assertion method checks if the current value is negative
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| currentValue | INT | current value to check | input |
| message | Tc2_System.T_MaxString | message if the assertion is false | input |
Code
Declaration
METHOD valueIsNegative
VAR_INPUT
(* current value to check *)
currentValue :INT;
(* message if the assertion is false *)
message :Tc2_System.T_MaxString;
END_VAR