Skip to main content

lsbIsNotEqualTo

Short summary

This assertion method checks if the least significant bit of current value is not equal to the unexpected value

Parameters

NameTypeCommentKind
currentValueBYTEcurrent value to checkinput
unexpectedValueBOOLunexpected value of lsbinput
messageAssertMessagemessage if the assertion is falseinput

Code

Declaration

METHOD lsbIsNotEqualTo
VAR_INPUT
(* current value to check *)
currentValue :BYTE;
(* unexpected value of lsb *)
unexpectedValue :BOOL;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR