Skip to content

Commit

Permalink
Commented out long tests
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ys committed Jul 13, 2023
1 parent 6f210f5 commit f1757b7
Showing 1 changed file with 54 additions and 54 deletions.
108 changes: 54 additions & 54 deletions src/main/java/com/a2ys/chess/EngineTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,33 +76,33 @@ void testFourth() throws InvalidFENError, KingCapturedError {

assertEquals(197281L, totalMoves(4));
}

@Test
@DisplayName("Testing for 5 plies")
void testFifth() throws InvalidFENError, KingCapturedError {
board.initialize(engine);
engine.initialize();

assertEquals(4865609L, totalMoves(5));
}

@Test
@DisplayName("Testing for 6 plies")
void testSixth() throws InvalidFENError, KingCapturedError {
board.initialize(engine);
engine.initialize();

assertEquals(119060324L, totalMoves(6));
}

@Test
@DisplayName("Testing for 7 plies")
void testSeventh() throws InvalidFENError, KingCapturedError {
board.initialize(engine);
engine.initialize();

assertEquals(3195901860L, totalMoves(7));
}
//
// @Test
// @DisplayName("Testing for 5 plies")
// void testFifth() throws InvalidFENError, KingCapturedError {
// board.initialize(engine);
// engine.initialize();
//
// assertEquals(4865609L, totalMoves(5));
// }
//
// @Test
// @DisplayName("Testing for 6 plies")
// void testSixth() throws InvalidFENError, KingCapturedError {
// board.initialize(engine);
// engine.initialize();
//
// assertEquals(119060324L, totalMoves(6));
// }
//
// @Test
// @DisplayName("Testing for 7 plies")
// void testSeventh() throws InvalidFENError, KingCapturedError {
// board.initialize(engine);
// engine.initialize();
//
// assertEquals(3195901860L, totalMoves(7));
// }
}

@Nested
Expand Down Expand Up @@ -183,32 +183,32 @@ void testFourth() throws InvalidFENError, KingCapturedError {

assertEquals(8L, totalCheckmates(4));
}

@Test
@DisplayName("Testing for 5 plies")
void testFifth() throws InvalidFENError, KingCapturedError {
board.initialize(engine);
engine.initialize();

assertEquals(347L, totalCheckmates(5));
}

@Test
@DisplayName("Testing for 6 plies")
void testSixth() throws InvalidFENError, KingCapturedError {
board.initialize(engine);
engine.initialize();

assertEquals(10828L, totalCheckmates(6));
}

@Test
@DisplayName("Testing for 7 plies")
void testSeventh() throws InvalidFENError, KingCapturedError {
board.initialize(engine);
engine.initialize();

assertEquals(435767L, totalCheckmates(7));
}
//
// @Test
// @DisplayName("Testing for 5 plies")
// void testFifth() throws InvalidFENError, KingCapturedError {
// board.initialize(engine);
// engine.initialize();
//
// assertEquals(347L, totalCheckmates(5));
// }
//
// @Test
// @DisplayName("Testing for 6 plies")
// void testSixth() throws InvalidFENError, KingCapturedError {
// board.initialize(engine);
// engine.initialize();
//
// assertEquals(10828L, totalCheckmates(6));
// }
//
// @Test
// @DisplayName("Testing for 7 plies")
// void testSeventh() throws InvalidFENError, KingCapturedError {
// board.initialize(engine);
// engine.initialize();
//
// assertEquals(435767L, totalCheckmates(7));
// }
}
}

0 comments on commit f1757b7

Please sign in to comment.