### Question:
SlidingTilesBoardManager implements Serializable { boolean checkSolvable(SlidingTilesBoard board) { int inversions = 0; int blankrow = 0; for (int i = 0; i != complexity * complexity - 1; i++) { for (int j = i + 1; j != complexity * complexity; j++) { int Icol = i % complexity; int Irow = i / complexity; int Jcol = j % complexity; int Jrow = j / complexity; if (board.getTile(Irow, Icol).getId() == 25) { blankrow = Irow; } if (board.getTile(Irow, Icol).compareTo(board.getTile(Jrow, Jcol)) > 0 && board.getTile(Irow, Icol).getId() !=25 ) { inversions++; } } } if (complexity == 3 || complexity == 5) { return (inversions % 2 == 0); } else if (complexity == 4) { return (blankrow % 2 == 1 && inversions % 2 == 0) || (blankrow % 2 == 0 && inversions % 2 == 1); }else{return false;} } SlidingTilesBoardManager(User user, int compl);   SlidingTilesBoardManager(User user, int compl, boolean customized); User getUser();  }### Answer:
@Test public void testCheckSolvableFour() { SlidingTilesBoardManager bm4 = new SlidingTilesBoardManager(user, 4); assertTrue(bm4.checkSolvable(board4)); }
@Test public void testCheckSolvableFive() { SlidingTilesBoardManager bm5 = new SlidingTilesBoardManager(user, 5); assertTrue(bm5.checkSolvable(board5)); }
@Test public void testCheckSolvableThree() { SlidingTilesBoardManager bmsol = new SlidingTilesBoardManager(user, 3); assertTrue(bmsol.checkSolvable(board3)); }