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

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

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

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