public void EqualsTest5() { var a = new FaceVal(22); var result = a.Equals(22u); Assert.IsTrue(result, "EqualsTest5 FAIL"); }
public void EqualsTest4() { var a = new FaceVal('B'); var result = a.Equals('B'); Assert.IsTrue(result, "EqualsTest4 FAIL"); }
public void EqualsTest() { var a = new FaceVal(20); object b = a; var result = a.Equals(b); Assert.IsTrue(result, "EqualsTest FAIL"); object c = new FaceVal(20); result = a.Equals(c); Assert.IsTrue(result, "EqualsTest FAIL"); result = a.Equals((object)null); Assert.IsFalse(result, "EqualsTest FAIL"); }
public void EqualsTest1() { var a = new FaceVal(20); var b = new FaceVal(20); var result = a.Equals(b); Assert.IsTrue(result, "EqualsTest1 FAIL"); }