public void When_converting_meters_Then_works(decimal distanceValue, Type type, decimal expected) { var distance = new Meters(distanceValue); var actual = distance.ConvertTo(type); Assert.That(actual.Value, Is.EqualTo(expected).Within(0.000001M)); }