Skip to content

Commit 085af21

Browse files
committed
Fix up tests
1 parent e179e24 commit 085af21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

EubosChess/src/test/java/eubos/main/EubosEngineMainTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ public void test_KRk_mate_in_11_NEW() throws InterruptedException, IOException {
220220
int mateDepth = 0;
221221
setupEngine();
222222
commands.add(new CommandPair(POS_FEN_PREFIX+"8/8/8/3K1k2/8/8/8/7r b - - 5 111"+CMD_TERMINATOR, null));
223-
commands.add(new CommandPair(GO_TIME_PREFIX+"14000"+CMD_TERMINATOR, BEST_PREFIX+"h1h4"+CMD_TERMINATOR));
224-
mateDepth = 14;
225-
assertTrue(performTestExpectMate(6000, mateDepth));
223+
commands.add(new CommandPair(GO_DEPTH_PREFIX+"18"+CMD_TERMINATOR, BEST_PREFIX+"h1d1"+CMD_TERMINATOR));
224+
mateDepth = 11;
225+
assertTrue(performTestExpectMate(12000, mateDepth));
226226
}
227227

228228
@Test
@@ -537,7 +537,7 @@ public void test_endgame_a() throws IllegalNotationException, IOException, Inter
537537
// Fine: problem 51
538538
setupEngine();
539539
commands.add(new CommandPair(POS_FEN_PREFIX+"8/8/2pp3k/8/1P1P3K/8/8/8 w - - 0 1"+CMD_TERMINATOR, null));
540-
commands.add(new CommandPair(GO_DEPTH_PREFIX+"17"+CMD_TERMINATOR, BEST_PREFIX+"d4d5"+CMD_TERMINATOR));
540+
commands.add(new CommandPair(GO_DEPTH_PREFIX+"19"+CMD_TERMINATOR, BEST_PREFIX+"d4d5"+CMD_TERMINATOR));
541541
assertTrue(performTest(4000));
542542
}
543543

0 commit comments

Comments
 (0)