Ejemplo n.º 1
0
 public static ForcePerLength CentinewtonsPerCentimeter <T>(this T value) =>
 ForcePerLength.FromCentinewtonsPerCentimeter(Convert.ToDecimal(value));
 public void NumberToCentinewtonsPerCentimeterTest() =>
 Assert.Equal(ForcePerLength.FromCentinewtonsPerCentimeter(2), 2.CentinewtonsPerCentimeter());