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