예제 #1
0
        public void Accelerate()
        {
            var currentVelocity = Velocity.Create(0m, Velocity.Ms);

            var newVelocity = Acceleration.Accelerate(Meter.Create(10m), Second.Create(3m), currentVelocity);

            Assert.Equal(Velocity.Create(30m, Velocity.Ms), newVelocity);
        }