Beispiel #1
0
        public void StartingPos200Radius()
        {
            PlayerDot playerDot = new PlayerDot(200);

            Point expectedPosition = new Point(200, 0);

            Assert.AreEqual(expectedPosition, playerDot.GetPosition());
        }
Beispiel #2
0
        public void MoveCounterClockwisePI()
        {
            PlayerDot playerDot = new PlayerDot(200);

            playerDot.MoveCounterClockwise(Math.PI);

            Point expectedPosition = new Point(200, 400);

            Assert.AreEqual(expectedPosition, playerDot.GetPosition());
        }