コード例 #1
0
 public static RotationalStiffness KilonewtonMetersPerDegree <T>(this T value) =>
 RotationalStiffness.FromKilonewtonMetersPerDegree(Convert.ToDecimal(value));
 public void NumberToKilonewtonMetersPerDegreeTest() =>
 Assert.Equal(RotationalStiffness.FromKilonewtonMetersPerDegree(2), 2.KilonewtonMetersPerDegree());