예제 #1
0
        public void Velocity_BounceSetsAngleFromMinus30DegToMinus30DegForHorizontalPlane()
        {
            Velocity v = new Velocity(1, -Math.PI / 6);

            v.Bounce(0);
            Assert.AreEqual(v.Angle, Math.PI / 6, 1e-5);
        }