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