Validation test for the block Buildings.Controls.OBC.CDL.Logical.Latch. Following tests are implemented:
false, the initial output should equal to the initial latch input.
true, the initial output should be false,
regardless of the value of the latch input.
false
to true, the output should become false if it was true,
or remain false if it was false.
true to false
and the latch input rises from false to true, the output
should rise from false to true.