()
| 88 | } |
| 89 | |
| 90 | @Test |
| 91 | public void endGamePgn() { |
| 92 | Board board = Board.getBoard("2k5/8/5R2/8/8/8/3K4/4R3 w - - 5 6"); |
| 93 | System.out.println(board); |
| 94 | Engine engine = new Engine(); |
| 95 | final OutCome bestMove = engine.iterativeDeepening(board, 20); |
| 96 | System.out.println(bestMove.getMove()); |
| 97 | Assert.assertEquals(Integer.MIN_VALUE, bestMove.getScore(), 0.000001); |
| 98 | System.out.println("NODES: " + Engine.nodesEvaluated + " TRANSPOSITIONS: " + engine.transpositionTable.size()); |
| 99 | } |
| 100 | |
| 101 | @Test |
| 102 | public void hardMateIn3() { |
nothing calls this directly
no test coverage detected