Beispiel #1
0
 public static LinearPowerDensity KilowattsPerFoot <T>(this T value) =>
 LinearPowerDensity.FromKilowattsPerFoot(Convert.ToDouble(value));
 public void NumberToKilowattsPerFootTest() =>
 Assert.Equal(LinearPowerDensity.FromKilowattsPerFoot(2), 2.KilowattsPerFoot());