Пример #1
0
        public void TestGetElements()
        {
            var board = new GameBoard();

            for (int x = 0; x < 9; x++)
            {
                for (int y = 0; y < 9; y++)
                {
                    try
                    {
                        board.GetSudokuElementsAtCell(0, 0);
                    }
                    catch (Exception ex)
                    {
                        throw new Exception($"At ({x},{y}):" + ex.Message);
                    }
                }
            }
        }