public void GetHashCodeTest() { Assert.AreEqual(Test1.GetHashCode(), Test1.GetHashCode(), "#F01"); Assert.IsTrue(Test1.GetHashCode() != Test2.GetHashCode(), "#F02"); Assert.AreEqual(Test3.GetHashCode(), Test2.GetHashCode(), "#F02"); }
public void GetHashCodeTest() { Assert.Equal(_test1.GetHashCode(), _test1.GetHashCode()); Assert.NotEqual(_test1.GetHashCode(), _test2.GetHashCode()); Assert.Equal(_test3.GetHashCode(), _test2.GetHashCode()); }
public override int GetHashCode() { return(_guid.GetHashCode()); }
public override int GetHashCode() { var hashCode = _sql.GetHashCode(); return(hashCode); }