예제 #1
0
        public void Should_own_a_HashCode(double value)
        {
            var expected = value.GetHashCode();

            var instance = new Inch(value);
            var actual   = instance.GetHashCode();

            Assert.AreEqual(expected, actual);
        }