public void TestEqualsWithDifferentObject() { TestDrawContext testContext1 = new TestDrawContext(); TestDrawContext testContext2 = new TestDrawContext(); Assert.IsFalse(testContext1.Equals((object)testContext2)); }
public void TestEqualsWithIncompatibleObject() { TestDrawContext testContext = new TestDrawContext(); Assert.IsFalse(testContext.Equals(123)); }
public void TestEqualsWithSameObject() { TestDrawContext testContext = new TestDrawContext(); Assert.IsTrue(testContext.Equals((object)testContext)); }