Beispiel #1
0
 public static ForcePerLength DecinewtonsPerCentimeter <T>(this T value) =>
 ForcePerLength.FromDecinewtonsPerCentimeter(Convert.ToDecimal(value));
 public void NumberToDecinewtonsPerCentimeterTest() =>
 Assert.Equal(ForcePerLength.FromDecinewtonsPerCentimeter(2), 2.DecinewtonsPerCentimeter());