Ejemplo n.º 1
0
 public void Test003(ComponentParameter left, ComponentParameter right, bool expectedResult)
 {
     left.Equals(right).ShouldBe(expectedResult);
     right.Equals(left).ShouldBe(expectedResult);
     (left == right).ShouldBe(expectedResult);
     (left != right).ShouldNotBe(expectedResult);
     left.Equals((object)right).ShouldBe(expectedResult);
     right.Equals((object)left).ShouldBe(expectedResult);
 }