public void TestHashCodeInequality() { Account account1 = TestObjectBuilder.GetAccount1(); Account account2 = TestObjectBuilder.GetAccount2(); Assert.AreNotEqual(account1.GetHashCode(), account2.GetHashCode()); }
public void TestInequality() { Account account1 = TestObjectBuilder.GetAccount1(); Account account2 = TestObjectBuilder.GetAccount2(); Assert.AreNotEqual(account1, account2); }