예제 #1
0
        public void CheckAreNotSamePassed()
        {
            ClassForTest object1 = new ClassForTest();
            ClassForTest object2 = new ClassForTest();

            BaseTestSite.Assert.AreNotSame(object1, object2, "The two object references should be different.");
        }
예제 #2
0
        public void CheckAreSameFailed()
        {
            ClassForTest object1 = new ClassForTest();
            ClassForTest object2 = new ClassForTest();

            BaseTestSite.Assert.AreSame(object1, object2, "The two object references should be the same.");
        }
 public void CheckAreNotSamePassed()
 {
     ClassForTest object1 = new ClassForTest();
     ClassForTest object2 = new ClassForTest();
     BaseTestSite.Assert.AreNotSame(object1, object2, "The two object references should be different.");
 }
 public void CheckAreSamePassed()
 {
     ClassForTest object1 = new ClassForTest();
     ClassForTest object2 = object1;
     BaseTestSite.Assert.AreSame(object1, object2, "The two object references should be the same.");
 }