Exemplo n.º 1
0
 public static LinearPowerDensity MilliwattsPerInch <T>(this T value) =>
 LinearPowerDensity.FromMilliwattsPerInch(Convert.ToDouble(value));
 public void NumberToMilliwattsPerInchTest() =>
 Assert.Equal(LinearPowerDensity.FromMilliwattsPerInch(2), 2.MilliwattsPerInch());