Skip to main content

isEqualInOrderTo

Short summary​

This assertion method checks if object is at the same position in the sequence as objectToCompare

Parameters​

NameTypeCommentKind
objectCNM_AbstractObject.IObjectobject which should be testedinput
objectToCompareCNM_AbstractObject.IObjectcomparative objectinput
messageAssertMessagemessage if the assertion is falseinput

Code​

Declaration​

METHOD isEqualInOrderTo
VAR_INPUT
(* object which should be tested *)
object :CNM_AbstractObject.IObject;
(* comparative object *)
objectToCompare :CNM_AbstractObject.IObject;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR