Example #1
0
 public static LinearPowerDensity WattsPerCentimeter <T>(this T value) =>
 LinearPowerDensity.FromWattsPerCentimeter(Convert.ToDouble(value));
 public void NumberToWattsPerCentimeterTest() =>
 Assert.Equal(LinearPowerDensity.FromWattsPerCentimeter(2), 2.WattsPerCentimeter());