Exemplo n.º 1
0
        public void PlayerSnakeSegments()
        {
            int         len   = 1;
            PlayerSnake snake = new PlayerSnake(len);

            snake.addSegment();
            snake.addSegment();
            var a = snake.Segments.Count;

            Assert.AreEqual(len, a, "Not correct amount of segments");
            Assert.AreEqual(2, snake.newSegments, "Not correct amount of segments");
        }