コード例 #1
0
        public void TestHashCodeInequality()
        {
            AccountCollection accountCol1 = TestObjectBuilder.GetAccountCollection();
            AccountCollection accountCol2 = TestObjectBuilder.GetAccountCollection2();

            Assert.AreNotEqual(accountCol1.GetHashCode(), accountCol2.GetHashCode());
        }
コード例 #2
0
        public void TestInequality()
        {
            AccountCollection accountCol1 = TestObjectBuilder.GetAccountCollection();
            AccountCollection accountCol2 = TestObjectBuilder.GetAccountCollection2();

            Assert.AreNotEqual(accountCol1, accountCol2);
        }