/** 2|-|2 */ @Test public void emptyMiddleCell() { Board board = new Board(3); List<Cell> cells = getCells(2, null, 2); assertTrue(board.areCellsMovable(cells)); }
/** -|2|- */ @Test public void emptyFirstAndLastCell() { Board board = new Board(3); List<Cell> cells = getCells(null, 2, null); assertTrue(board.areCellsMovable(cells)); }
/** 2|2|- */ @Test public void emptyLastCell() { Board board = new Board(3); List<Cell> cells = getCells(2, 2, null); assertFalse(board.areCellsMovable(cells)); }
/** 2|2|2 */ @Test public void filledCells() { Board board = new Board(3); List<Cell> cells = getCells(2, 2, 2); assertFalse(board.areCellsMovable(cells)); }