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