Exemple #1
0
        public void TestEqualsWithDifferentObject()
        {
            TestDrawContext testContext1 = new TestDrawContext();
            TestDrawContext testContext2 = new TestDrawContext();

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

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

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