Exemplo n.º 1
0
 public void GetHashCodeTest()
 {
     // FIXME: Better way to test HashCode
     Assert.Equal(_test1.GetHashCode(), _test1.GetHashCode());
     Assert.True(_test2.GetHashCode() != _test1.GetHashCode());
 }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            var hashCode = _sql.GetHashCode();

            return(hashCode);
        }
Exemplo n.º 3
0
 public void GetHashCodeTest()
 {
     // FIXME: Better way to test HashCode
     Assert.AreEqual(Test1.GetHashCode(), Test1.GetHashCode(), "#F01");
     Assert.IsTrue(Test2.GetHashCode() != Test1.GetHashCode(), "#F02");
 }
Exemplo n.º 4
0
 public override int GetHashCode() => _sql.GetHashCode();