Пример #1
0
 public static ForcePerLength KilogramsForcePerCentimeter <T>(this T value) =>
 ForcePerLength.FromKilogramsForcePerCentimeter(Convert.ToDecimal(value));
 public void NumberToKilogramsForcePerCentimeterTest() =>
 Assert.Equal(ForcePerLength.FromKilogramsForcePerCentimeter(2), 2.KilogramsForcePerCentimeter());