Exemplo n.º 1
0
 public static ForcePerLength MicronewtonsPerCentimeter <T>(this T value) =>
 ForcePerLength.FromMicronewtonsPerCentimeter(Convert.ToDecimal(value));
 public void NumberToMicronewtonsPerCentimeterTest() =>
 Assert.Equal(ForcePerLength.FromMicronewtonsPerCentimeter(2), 2.MicronewtonsPerCentimeter());