//[Fact] public void ConversionToTargetUnit() { // Feature is not built. Unit test should fail here with NotImplementedException Quantity quantity = system.Convert("4[in_i]", "m"); Assert.Equal(quantity.Metric.Symbols, "m"); Assert.Equal((decimal)quantity.Value, 0.1016m); Assert.Equal((decimal)quantity.Value.Error, 0.127000m); Quantity target = system.Quantity("74e9Bq"); quantity = system.Convert("2.00Ci", "Bq"); Assert.True(quantity.Approximates(target)); quantity = system.Convert("2.00Ci", "mBq"); Assert.True(quantity.Approximates(target)); quantity = system.Convert("2.00Ci", "MBq"); Assert.True(quantity.Approximates(target)); quantity = system.Convert("3.000[ft_br]", "[in_br]"); target = system.Quantity("36.0[in_br]"); Assert.True(quantity.Approximates(target)); quantity = system.Convert("2[acr_br]", "[yd_br]2"); target = system.Quantity("9680.0[yd_br]2"); Assert.True(quantity.Approximates(target)); }