Skip to content

Commit

Permalink
Fixes a test
Browse files Browse the repository at this point in the history
  • Loading branch information
fathzer committed Apr 25, 2024
1 parent 104471a commit 5b994c3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ void test() {
mv = moves.get(0).getContent();
assertEquals(C3, mv.getFrom());
assertEquals(C2, mv.getTo());
assertTrue(moves.get(1).getScore()<10000.0);
// Warning, due to transposition table effects, the second best move (M+3) can be detected even if we search at depth 4!
assertTrue(moves.get(1).getScore()<moves.get(0).getScore());

// Check in 2
System.out.println("------------------");
Expand Down

0 comments on commit 5b994c3

Please sign in to comment.