()
| 48 | } |
| 49 | |
| 50 | @Test |
| 51 | public void notBlockedByEnemyPawn() { |
| 52 | Board board = new Board(); |
| 53 | board.placeKing(3, 3, Color.BLACK); |
| 54 | board.placePawn(5, 3, Color.WHITE); |
| 55 | board.placeKing(7, 7, Color.WHITE); |
| 56 | System.out.println(board); |
| 57 | System.out.println(board.getPiece(3, 3).getMoveList(board)); |
| 58 | Assert.assertEquals(8, board.getPiece(3, 3).getMoveList(board).size()); |
| 59 | } |
| 60 | |
| 61 | @Test |
| 62 | public void notBlockedByEnemyPawnInFront() { |
nothing calls this directly
no test coverage detected