Esempio n. 1
0
        public void TestEqualsWithDifferentObject()
        {
            TestDrawContext testContext1 = new TestDrawContext();
            TestDrawContext testContext2 = new TestDrawContext();

            Assert.IsFalse(testContext1.Equals((object)testContext2));
        }
Esempio n. 2
0
        public void TestEqualsWithIncompatibleObject()
        {
            TestDrawContext testContext = new TestDrawContext();

            Assert.IsFalse(testContext.Equals(123));
        }
Esempio n. 3
0
        public void TestEqualsWithSameObject()
        {
            TestDrawContext testContext = new TestDrawContext();

            Assert.IsTrue(testContext.Equals((object)testContext));
        }
Esempio n. 4
0
 public void TestEqualsWithIncompatibleObject() {
   TestDrawContext testContext = new TestDrawContext();
   Assert.IsFalse(testContext.Equals(123));
 }
Esempio n. 5
0
 public void TestEqualsWithDifferentObject() {
   TestDrawContext testContext1 = new TestDrawContext();
   TestDrawContext testContext2 = new TestDrawContext();
   Assert.IsFalse(testContext1.Equals((object)testContext2));
 }
Esempio n. 6
0
 public void TestEqualsWithSameObject() {
   TestDrawContext testContext = new TestDrawContext();
   Assert.IsTrue(testContext.Equals((object)testContext));
 }