()
| 44 | } |
| 45 | |
| 46 | @Test |
| 47 | public void cantMoveForwardOpponent() { |
| 48 | final Board board = new Board(); |
| 49 | board.placePawn(2, 1, Color.WHITE); |
| 50 | board.placePawn(3, 1, Color.BLACK); |
| 51 | System.out.println(board); |
| 52 | Assert.assertTrue(board.getPiece(2, 1).getMoveList(board).isEmpty()); |
| 53 | } |
| 54 | |
| 55 | @Test |
| 56 | public void cantMoveForwardSameColor() { |
nothing calls this directly
no test coverage detected