コード例 #1
0
 public void NumberToInversePoundsForcePerSquareInchTest() =>
 Assert.Equal(Compressibility.FromInversePoundsForcePerSquareInch(2), 2.InversePoundsForcePerSquareInch());
コード例 #2
0
 public void NumberToInverseMillibarsTest() =>
 Assert.Equal(Compressibility.FromInverseMillibars(2), 2.InverseMillibars());
コード例 #3
0
 public void NumberToInversePascalsTest() =>
 Assert.Equal(Compressibility.FromInversePascals(2), 2.InversePascals());
コード例 #4
0
 public void NumberToInverseAtmospheresTest() =>
 Assert.Equal(Compressibility.FromInverseAtmospheres(2), 2.InverseAtmospheres());
コード例 #5
0
 public static Compressibility InversePoundsForcePerSquareInch <T>(this T value) =>
 Compressibility.FromInversePoundsForcePerSquareInch(Convert.ToDouble(value));
コード例 #6
0
 public static Compressibility InversePascals <T>(this T value) =>
 Compressibility.FromInversePascals(Convert.ToDouble(value));
コード例 #7
0
 public static Compressibility InverseMillibars <T>(this T value) =>
 Compressibility.FromInverseMillibars(Convert.ToDouble(value));
コード例 #8
0
 public static Compressibility InverseAtmospheres <T>(this T value) =>
 Compressibility.FromInverseAtmospheres(Convert.ToDouble(value));