public void Equals_Include_Variable_A_vs_Variable_A() { // arrange var a = new SelectionIncludeCondition( include: new VariableNode("a")); var b = new SelectionIncludeCondition( include: new VariableNode("a")); // act var equals = a.Equals(b); // assert Assert.True(equals); }
public void Equals_Include_True_vs_Variable() { // arrange var a = new SelectionIncludeCondition( include: new BooleanValueNode(true)); var b = new SelectionIncludeCondition( include: new VariableNode("b")); // act var equals = a.Equals(b); // assert Assert.False(equals); }