public void GetHashCodeTest() { // FIXME: Better way to test HashCode Assert.Equal(_test1.GetHashCode(), _test1.GetHashCode()); Assert.True(_test2.GetHashCode() != _test1.GetHashCode()); }
/// <summary> /// /// </summary> /// <returns></returns> public override int GetHashCode() { var hashCode = _sql.GetHashCode(); return(hashCode); }
public void GetHashCodeTest() { // FIXME: Better way to test HashCode Assert.AreEqual(Test1.GetHashCode(), Test1.GetHashCode(), "#F01"); Assert.IsTrue(Test2.GetHashCode() != Test1.GetHashCode(), "#F02"); }
public override int GetHashCode() => _sql.GetHashCode();