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