Example #1
0
 public static ForcePerLength MillinewtonsPerCentimeter <T>(this T value) =>
 ForcePerLength.FromMillinewtonsPerCentimeter(Convert.ToDecimal(value));
 public void NumberToMillinewtonsPerCentimeterTest() =>
 Assert.Equal(ForcePerLength.FromMillinewtonsPerCentimeter(2), 2.MillinewtonsPerCentimeter());