예제 #1
0
        public void TestHashCodeInequality()
        {
            Account account1 = TestObjectBuilder.GetAccount1();
            Account account2 = TestObjectBuilder.GetAccount2();

            Assert.AreNotEqual(account1.GetHashCode(), account2.GetHashCode());
        }
예제 #2
0
        public void TestInequality()
        {
            Account account1 = TestObjectBuilder.GetAccount1();
            Account account2 = TestObjectBuilder.GetAccount2();

            Assert.AreNotEqual(account1, account2);
        }