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