Skip to main content

valueIsTrue

Short summary

This assertion method checks if the current value is TRUE

Parameters

NameTypeCommentKind
currentValueBOOLcurrent value to checkinput
messageAssertMessagemessage if the assertion is falseinput

Code

Declaration

METHOD valueIsTrue
VAR_INPUT
(* current value to check *)
currentValue :BOOL;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR