示例#1
0
        public void TestHashCodeInequality()
        {
            Credential cred1 = TestObjectBuilder.GetCredential1();
            Credential cred2 = TestObjectBuilder.GetCredential2();

            Assert.AreNotEqual(cred1.GetHashCode(), cred2.GetHashCode());
        }
示例#2
0
        public void TestInequality()
        {
            Credential cred1 = TestObjectBuilder.GetCredential1();
            Credential cred2 = TestObjectBuilder.GetCredential2();

            Assert.AreNotEqual(cred1, cred2);
        }