public static LinearPowerDensity MegawattsPerFoot <T>(this T value) => LinearPowerDensity.FromMegawattsPerFoot(Convert.ToDouble(value));
public void NumberToMegawattsPerFootTest() => Assert.Equal(LinearPowerDensity.FromMegawattsPerFoot(2), 2.MegawattsPerFoot());