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 CheckAreSameFailed() { ClassForTest object1 = new ClassForTest(); ClassForTest object2 = new ClassForTest(); BaseTestSite.Assert.AreSame(object1, object2, "The two object references should be the same."); }
public void CheckAreSamePassed() { ClassForTest object1 = new ClassForTest(); ClassForTest object2 = object1; BaseTestSite.Assert.AreSame(object1, object2, "The two object references should be the same."); }