示例#1
0
        public void TwoIndirectHashCodeSimilarValuesNotEqual()
        {
            var reference1 = new IndirectReference(12, 1);
            var reference2 = new IndirectReference(1, 12);

            Assert.NotEqual(reference1.GetHashCode(), reference2.GetHashCode());
        }
示例#2
0
        public void TwoIndirectHashCodeNotEqual()
        {
            var reference1 = new IndirectReference(1267775544, 690);
            var reference2 = new IndirectReference(1267775544, 12);

            Assert.NotEqual(reference1.GetHashCode(), reference2.GetHashCode());
        }