Ejemplo n.º 1
0
        public void TestHashCodeInequality()
        {
            AccountCollection accountCol1 = TestObjectBuilder.GetAccountCollection();
            AccountCollection accountCol2 = TestObjectBuilder.GetAccountCollection2();

            Assert.AreNotEqual(accountCol1.GetHashCode(), accountCol2.GetHashCode());
        }
Ejemplo n.º 2
0
        public void TestInequality()
        {
            AccountCollection accountCol1 = TestObjectBuilder.GetAccountCollection();
            AccountCollection accountCol2 = TestObjectBuilder.GetAccountCollection2();

            Assert.AreNotEqual(accountCol1, accountCol2);
        }