Пример #1
0
 public static Jerk MetersPerSecondCubed <T>(this T value) =>
 Jerk.FromMetersPerSecondCubed(Convert.ToDouble(value));
Пример #2
0
        public void AccelerationDividedByDurationEqualsJerk()
        {
            Jerk jerk = Acceleration.FromMetersPerSecondSquared(10) / Duration.FromSeconds(2);

            Assert.Equal(Jerk.FromMetersPerSecondCubed(5), jerk);
        }
Пример #3
0
 public void NumberToMetersPerSecondCubedTest() =>
 Assert.Equal(Jerk.FromMetersPerSecondCubed(2), 2.MetersPerSecondCubed());