Removed old FEN string methods, fixed FEN regex

This commit is contained in:
2019-10-25 11:52:48 +02:00
parent 4857b48e4e
commit 5dbd38d1c0
7 changed files with 59 additions and 185 deletions

View File

@@ -35,7 +35,7 @@ class FENStringTest {
*/
@BeforeEach
void setUp() throws Exception {
fenStrings.addAll(Arrays.asList("rnbqkbnr/pp1ppppp/8/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R b - - 1 2"));
fenStrings.addAll(Arrays.asList("rnbqkbnr/pp1ppppp/8/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq - 1 2"));
Board board = new Board();
board.set(Position.fromLAN("c7"), null);
board.set(Position.fromLAN("c5"), new Pawn(Color.BLACK, board));