()
| 83 | } |
| 84 | |
| 85 | @Test |
| 86 | public void canCaptureBlackBlocked() { |
| 87 | final Board board = new Board(); |
| 88 | board.placePawn(6, 6, Color.BLACK); |
| 89 | board.placePawn(5, 6, Color.BLACK); |
| 90 | board.placePawn(5, 5, Color.WHITE); |
| 91 | System.out.println(board); |
| 92 | System.out.println(board.getPiece(6, 6).getMoveList(board)); |
| 93 | Assert.assertEquals(1, board.getPiece(6, 6).getMoveList(board).size()); |
| 94 | } |
| 95 | |
| 96 | @Test |
| 97 | public void canCaptureEnPassant() { |
nothing calls this directly
no test coverage detected