public void TestGeneratePlayField15X15ExitPathShouldExistFromTheCenter()
        {
            IPlayFieldGenerator generator = new StandardPlayFieldGenerator(new Position(7, 7), 15, 15);
            bool        pathFound         = true;
            ExitFounder pathFounder       = new ExitFounder(new Position(7, 7), 15, 15);

            for (var i = 0; i < 3000; i++)
            {
                ICell[,] k = generator.GeneratePlayField(RandomNumberGenerator.Instance);
                if (!pathFounder.CheckForExit(k))
                {
                    pathFound = false;
                }
            }

            Assert.IsTrue(pathFound);
        }
        public void TestGeneratePlayField5X5ExitPathShouldExistFromTheCenter()
        {
            IPlayFieldGenerator generator = new StandardPlayFieldGenerator(new Position(2,2),5,5);
            bool pathFound = true;
            ExitFounder pathFounder = new ExitFounder(new Position(2,2),5,5 );

            for (var i = 0; i < 7000; i++)
            {
                ICell[,] k = generator.GeneratePlayField(RandomNumberGenerator.Instance);
                if (!pathFounder.CheckForExit(k))
                {
                    pathFound = false;
                }
            }

            Assert.IsTrue(pathFound);
        }