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