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