예제 #1
0
 private static void AssertNotEqual <T>(Indexed <T> first, Indexed <T> second)
 {
     Assert.IsFalse(first == second);
     Assert.IsFalse(second == first);
     Assert.IsTrue(first != second);
     Assert.IsTrue(second != first);
     Assert.IsFalse(first.Equals(second));
     Assert.IsFalse(second.Equals(first));
     Assert.IsFalse(object.Equals(first, second));
     Assert.IsFalse(object.Equals(second, first));
     Assert.AreNotEqual(first.GetHashCode(), second.GetHashCode());
 }