예제 #1
0
 public static ForcePerLength NanonewtonsPerCentimeter <T>(this T value) =>
 ForcePerLength.FromNanonewtonsPerCentimeter(Convert.ToDecimal(value));
 public void NumberToNanonewtonsPerCentimeterTest() =>
 Assert.Equal(ForcePerLength.FromNanonewtonsPerCentimeter(2), 2.NanonewtonsPerCentimeter());