()
| 53 | } |
| 54 | |
| 55 | @Test |
| 56 | public void cantMoveForwardSameColor() { |
| 57 | final Board board = new Board(); |
| 58 | board.placePawn(2, 1, Color.WHITE); |
| 59 | board.placePawn(3, 1, Color.WHITE); |
| 60 | System.out.println(board); |
| 61 | Assert.assertTrue(board.getPiece(2, 1).getMoveList(board).isEmpty()); |
| 62 | } |
| 63 | |
| 64 | @Test |
| 65 | public void canCapture() { |
nothing calls this directly
no test coverage detected