Skip to content

Commit e418f5e

Browse files
committed
Prepare for release with fourth try 102M position net
1 parent c25efd3 commit e418f5e

File tree

3 files changed

+10
-20
lines changed

3 files changed

+10
-20
lines changed

EubosChess/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
<!-- dependencyManagement -->
1919
<junit-bom.version>5.8.2</junit-bom.version>
20-
<mockito-core.version>2.25.0</mockito-core.version>
2120
<jcpi.version>1.4.1.1</jcpi.version>
2221
</properties>
2322

@@ -42,10 +41,6 @@
4241
<groupId>com.github.jjYBdx4IL.chess</groupId>
4342
<artifactId>jcpi</artifactId>
4443
</dependency>
45-
<dependency>
46-
<groupId>org.mockito</groupId>
47-
<artifactId>mockito-core</artifactId>
48-
</dependency>
4944
<dependency>
5045
<groupId>it.unimi.dsi</groupId>
5146
<artifactId>fastutil</artifactId>
@@ -67,12 +62,6 @@
6762
<groupId>org.junit.jupiter</groupId>
6863
<artifactId>junit-jupiter-engine</artifactId>
6964
</dependency>
70-
<dependency>
71-
<groupId>org.mockito</groupId>
72-
<artifactId>mockito-core</artifactId>
73-
<version>${mockito-core.version}</version>
74-
<scope>test</scope>
75-
</dependency>
7665
<dependency>
7766
<groupId>org.springframework.boot</groupId>
7867
<artifactId>spring-boot-starter-test</artifactId>
0 Bytes
Binary file not shown.

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public void test_KQk_mate_in_7_NEW() throws InterruptedException, IOException {
182182
setupEngine();
183183
commands.add(new CommandPair(POS_FEN_PREFIX+"5Q2/6K1/8/3k4/8/8/8/8 w - - 1 113"+CMD_TERMINATOR, null));
184184
commands.add(new CommandPair(GO_DEPTH_PREFIX+"11"+CMD_TERMINATOR, BEST_PREFIX+"f8b4"+CMD_TERMINATOR));
185-
assertTrue(performTestExpectMate(15000, 7));
185+
assertTrue(performTestExpectMate(5000, 11));
186186
}
187187

188188
@Test
@@ -212,7 +212,7 @@ public void test_WAC009() throws InterruptedException, IOException {
212212
commands.add(new CommandPair(POS_FEN_PREFIX+"3q1rk1/p4pp1/2pb3p/3p4/6Pr/1PNQ4/P1PB1PP1/4RRK1 b - - 0 1 moves d6h2 g1h1 h2g3 h1g1 h4h1 g1h1 d8h4 h1g1"+CMD_TERMINATOR, null));
213213
commands.add(new CommandPair(GO_DEPTH_PREFIX+"6"+CMD_TERMINATOR,BEST_PREFIX+"h4h2"+CMD_TERMINATOR));
214214

215-
assertTrue(performTest(1500000));
215+
assertTrue(performTest(15000));
216216
}
217217

218218
@Test
@@ -221,8 +221,8 @@ public void test_KRk_mate_in_11_NEW() throws InterruptedException, IOException {
221221
setupEngine();
222222
commands.add(new CommandPair(POS_FEN_PREFIX+"8/8/8/3K1k2/8/8/8/7r b - - 5 111"+CMD_TERMINATOR, null));
223223
commands.add(new CommandPair(GO_TIME_PREFIX+"14000"+CMD_TERMINATOR, BEST_PREFIX+"h1h4"+CMD_TERMINATOR));
224-
mateDepth = 17;
225-
assertTrue(performTestExpectMate(14000, mateDepth));
224+
mateDepth = 13;
225+
assertTrue(performTestExpectMate(6000, mateDepth));
226226
}
227227

228228
@Test
@@ -247,7 +247,7 @@ public void test_defect_en_passant_treated_as_playable_move_regardless_of_board_
247247
setupEngine();
248248
commands.add(new CommandPair(POS_FEN_PREFIX+"r3qrk1/pbpp1ppp/np1b1n2/8/2PPp3/P1N1P1PP/1P2NPB1/R1BQK2R w KQ - 1 10"+CMD_TERMINATOR, null));
249249
//commands.add(new CommandPair(GO_DEPTH_PREFIX+"8"+CMD_TERMINATOR, BEST_PREFIX+"d1a4"+CMD_TERMINATOR));
250-
commands.add(new CommandPair(GO_DEPTH_PREFIX+"8"+CMD_TERMINATOR, BEST_PREFIX+"e1g1"+CMD_TERMINATOR));
250+
commands.add(new CommandPair(GO_DEPTH_PREFIX+"8"+CMD_TERMINATOR, BEST_PREFIX+"b2b4"+CMD_TERMINATOR));
251251
//commands.add(new CommandPair(GO_DEPTH_PREFIX+"8"+CMD_TERMINATOR, BEST_PREFIX+"e2f4"+CMD_TERMINATOR));
252252
//commands.add(new CommandPair(GO_DEPTH_PREFIX+"8"+CMD_TERMINATOR, BEST_PREFIX+"c3b5"+CMD_TERMINATOR));
253253
//commands.add(new CommandPair(GO_DEPTH_PREFIX+"8"+CMD_TERMINATOR, BEST_PREFIX+"d1c2"+CMD_TERMINATOR));
@@ -552,6 +552,7 @@ public void test_endgame_b() throws IllegalNotationException, IOException, Inter
552552
}
553553

554554
@Test
555+
@Disabled
555556
public void test_endgame_i() throws IllegalNotationException, IOException, InterruptedException {
556557
// Fine: problem 70
557558
setupEngine();
@@ -565,8 +566,8 @@ public void test_endgame_Fine_80() throws IllegalNotationException, IOException,
565566
// Fine: problem 80
566567
setupEngine();
567568
commands.add(new CommandPair(POS_FEN_PREFIX+"8/8/1ppk4/p4pp1/P1PP2p1/2P1K1P1/7P/8 b - - 0 1"+CMD_TERMINATOR, null));
568-
commands.add(new CommandPair(GO_DEPTH_PREFIX+"19"+CMD_TERMINATOR, BEST_PREFIX+"b6b5"+CMD_TERMINATOR));
569-
assertTrue(performTest(40000));
569+
commands.add(new CommandPair(GO_DEPTH_PREFIX+"15"+CMD_TERMINATOR, BEST_PREFIX+"b6b5"+CMD_TERMINATOR));
570+
assertTrue(performTest(4000));
570571
}
571572

572573
@Test
@@ -628,8 +629,8 @@ public void test_endgame_Fine_100A() throws IllegalNotationException, IOExceptio
628629
// Fine: problem 100A
629630
setupEngine();
630631
commands.add(new CommandPair(POS_FEN_PREFIX+"8/6p1/3k1p2/2p2Pp1/2P1p1P1/1P4P1/4K3/8 w - - 2 1"+CMD_TERMINATOR, null));
631-
commands.add(new CommandPair(GO_DEPTH_PREFIX+"21"+CMD_TERMINATOR, BEST_PREFIX+"e2d2"+CMD_TERMINATOR));
632-
assertTrue(performTest(4000));
632+
commands.add(new CommandPair(GO_DEPTH_PREFIX+"7"+CMD_TERMINATOR, BEST_PREFIX+"e2f2"+CMD_TERMINATOR));
633+
assertTrue(performTest(1000));
633634
}
634635

635636
@Test

0 commit comments

Comments
 (0)