()
| 34 | } |
| 35 | |
| 36 | @Test |
| 37 | public void blockedByEnemyPawn() { |
| 38 | Board board = new Board(); |
| 39 | board.placeQueen(3, 3, Color.BLACK); |
| 40 | board.placePawn(4, 3, Color.WHITE); |
| 41 | System.out.println(board); |
| 42 | System.out.println(board.getPiece(3, 3).getMoveList(board)); |
| 43 | Assert.assertEquals(24, board.getPiece(3, 3).getMoveList(board).size()); |
| 44 | } |
| 45 | |
| 46 | @Test |
| 47 | public void surroundedByPiecesStraight() { |
nothing calls this directly
no test coverage detected