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