Exemple #1
0
 public static ForcePerLength NewtonsPerCentimeter <T>(this T value) =>
 ForcePerLength.FromNewtonsPerCentimeter(Convert.ToDecimal(value));
 public void NumberToNewtonsPerCentimeterTest() =>
 Assert.Equal(ForcePerLength.FromNewtonsPerCentimeter(2), 2.NewtonsPerCentimeter());