Example #1
0
        public void CanDetectGameOverState(string gridText, bool gameOver)
        {
            var service = new GridService(new RandomService());
            var grid    = ParseGrid(gridText);

            var canMove = service.CanBeMoved(grid);

            canMove.Should().Be(!gameOver);
        }