Skip to main content

valueIsEqualTo

Short summary​

This assertion method checks if the current value is equal to the expected value

Parameters​

NameTypeCommentKind
currentValueINTcurrent value to checkinput
expectedValueINTexpected value to compareinput
messageTc2_System.T_MaxStringmessage if the assertion is falseinput

Code​

Declaration​

METHOD valueIsEqualTo
VAR_INPUT
(* current value to check *)
currentValue :INT;
(* expected value to compare *)
expectedValue :INT;
(* message if the assertion is false *)
message :Tc2_System.T_MaxString;
END_VAR