()
| 82 | } |
| 83 | |
| 84 | @Test |
| 85 | public void surroundedByPiecesDiag() { |
| 86 | Board board = new Board(); |
| 87 | board.placeKnight(3, 3, Color.BLACK); |
| 88 | board.placePawn(4, 4, Color.BLACK); |
| 89 | board.placePawn(2, 2, Color.BLACK); |
| 90 | board.placeRook(4, 2, Color.BLACK); |
| 91 | board.placeRook(2, 4, Color.BLACK); |
| 92 | System.out.println(board); |
| 93 | System.out.println(board.getPiece(3, 3).getMoveList(board)); |
| 94 | Assert.assertEquals(8, board.getPiece(3, 3).getMoveList(board).size()); |
| 95 | } |
| 96 | |
| 97 | @Test |
| 98 | public void surroundedByEnemyDiag() { |
nothing calls this directly
no test coverage detected