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