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