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