Ejemplo n.º 1
0
        public void GetHashCode_ForEqualObjects()
        {
            var signature1 = new PropertySignature(typeof(int), new[] { typeof(double), typeof(string) });
            var signature2 = new PropertySignature(typeof(int), new[] { typeof(double), typeof(string) });

            Assert.That(signature1.GetHashCode(), Is.EqualTo(signature2.GetHashCode()));
        }