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