Beispiel #1
0
        public void TestSmallSizeOfBoard()
        {
            WorkBoardClass wb = new WorkBoardClass(6);

            byte[,] board = new byte[6, 6];
            wb.SetWorkBoard(board);
        }
Beispiel #2
0
        public void TestAllCellInWorkBoard()
        {
            WorkBoardClass wb = new WorkBoardClass(16);

            byte[,] board = new byte[16, 16];
            board[6, 6]   = 1;
            board[7, 7]   = 2;
            wb.SetWorkBoard(board);
        }
Beispiel #3
0
        public void TestCloseCells()
        {
            WorkBoardClass wb = new WorkBoardClass(16);

            byte[,] board = new byte[16, 16];
            board[5, 5]   = 1;
            board[7, 5]   = 2;
            board[10, 5]  = 1;
            board[4, 8]   = 2;
            board[11, 7]  = 1;
            board[11, 10] = 2;
            board[8, 11]  = 2;
            board[5, 11]  = 1;
            wb.SetWorkBoard(board);
        }
Beispiel #4
0
 public void TestInitWorkBoard()
 {
     WorkBoardClass wb = new WorkBoardClass(16);
 }