Skip to main content

valueIsEqualTo

Short summary​

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

Parameters​

NameTypeCommentKind
currentValueLTODcurrent value to checkinput
expectedValueLTODexpected value to compareinput
messageAssertMessagemessage if the assertion is falseinput

Code​

Declaration​

METHOD valueIsEqualTo
VAR_INPUT
(* current value to check *)
currentValue :LTOD;
(* expected value to compare *)
expectedValue :LTOD;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR