Skip to main content

valueIsEqualTo

Short summary​

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

Parameters​

NameTypeCommentKind
currentValueTIMEcurrent value to checkinput
expectedValueTIMEexpected value to compareinput
messageAssertMessagemessage if the assertion is falseinput

Code​

Declaration​

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