public static LinearPowerDensity MilliwattsPerMeter <T>(this T value) => LinearPowerDensity.FromMilliwattsPerMeter(Convert.ToDouble(value));
public void NumberToMilliwattsPerMeterTest() => Assert.Equal(LinearPowerDensity.FromMilliwattsPerMeter(2), 2.MilliwattsPerMeter());