public void Should_own_a_HashCode(double value) { var expected = value.GetHashCode(); var instance = new Foot(value); var actual = instance.GetHashCode(); Assert.AreEqual(expected, actual); }