예제 #1
0
        public void Cell_Filled_Ok()
        {
            var       cellMapp       = new int[Game.SudokuSize, Game.SudokuSize];
            const int theOnlyFilledX = 0;
            const int theOnlyFilledY = 0;
            const int filledIntValue = 5;

            cellMapp[theOnlyFilledX, theOnlyFilledY] = filledIntValue;
            var board = new GameBoard(cellMapp);

            Assert.True(board.IsCellFilled(0, 0));
            Assert.False(board.IsCellFilled(0, 1));
        }