public void When_converting_feet_Then_works(decimal distanceValue, Type type, decimal expected, decimal within) { var distance = new Feet(distanceValue); var actual = distance.ConvertTo(type); Assert.That(actual.Value, Is.EqualTo(expected).Within(within)); }