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