Esempio n. 1
0
 public static LinearPowerDensity GigawattsPerInch <T>(this T value) =>
 LinearPowerDensity.FromGigawattsPerInch(Convert.ToDouble(value));
 public void NumberToGigawattsPerInchTest() =>
 Assert.Equal(LinearPowerDensity.FromGigawattsPerInch(2), 2.GigawattsPerInch());