Пример #1
0
 public static LinearPowerDensity KilowattsPerInch <T>(this T value) =>
 LinearPowerDensity.FromKilowattsPerInch(Convert.ToDouble(value));
 public void NumberToKilowattsPerInchTest() =>
 Assert.Equal(LinearPowerDensity.FromKilowattsPerInch(2), 2.KilowattsPerInch());