Пример #1
0
 public static LinearPowerDensity WattsPerMillimeter <T>(this T value) =>
 LinearPowerDensity.FromWattsPerMillimeter(Convert.ToDouble(value));
 public void NumberToWattsPerMillimeterTest() =>
 Assert.Equal(LinearPowerDensity.FromWattsPerMillimeter(2), 2.WattsPerMillimeter());