public static LinearPowerDensity GigawattsPerMillimeter <T>(this T value) => LinearPowerDensity.FromGigawattsPerMillimeter(Convert.ToDouble(value));
public void NumberToGigawattsPerMillimeterTest() => Assert.Equal(LinearPowerDensity.FromGigawattsPerMillimeter(2), 2.GigawattsPerMillimeter());