Skip to content

Commit

Permalink
more FENs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Dec 13, 2023
1 parent 34498ab commit 7b75902
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion test-kit/src/test/scala/format/SmallFenTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,52 @@ class SmallFenTest extends ChessTest:
"8/P1k5/K7/8/8/8/8/8 w - -",
"K1k5/8/P7/8/8/8/8/8 w - -",
"8/k1P5/8/1K6/8/8/8/8 w - -",
"8/8/2k5/5q2/5n2/8/5K2/8 b - -"
"8/8/2k5/5q2/5n2/8/5K2/8 b - -",
"k7/8/1K6/3BB3/8/8/8/8 b - -",
"8/8/8/4b3/4b3/1k6/8/K7 w - -",
"k7/8/1K6/3BB3/8/8/8/5q2 b - -",
"8/1P6/8/4b3/4b3/1k6/8/K7 w - -",
"k7/8/1KBB4/8/8/8/6P1/8 b - -",
"K7/8/1kbb4/8/8/8/6p1/8 w - -",
"8/8/8/6K1/4NN2/3NN3/8/4k3 w - -",
"8/8/8/6k1/4nn2/3nn3/8/4K3 w - -",
"k7/8/1NN5/1NN5/8/8/8/K7 w - -",
"K7/8/1nn5/1nn5/8/8/8/k7 w - -",
"k7/8/1NN5/1NN5/8/8/4Q3/K7 w - -",
"3k4/8/2NNN3/2NNN3/8/8/8/3K4 w - -",
"3K4/8/2nnn3/2nnn3/8/8/8/3k4 w - -",
"8/8/4NN2/4NN1k/4NN2/8/8/3K4 w - -",
"8/8/4nn2/4nn1K/4nn2/8/8/3k4 w - -",
"3k4/8/2NNN3/2NNN3/8/3Q4/8/3K4 w - -",
"8/8/8/3K4/1NNNNN2/3Nk3/8/8 b - -",
"k7/3N4/1KB5/8/8/8/8/8 b - -",
"K7/3n4/1kb5/8/8/8/8/8 w - -",
"k7/3N4/1KB5/8/8/6P1/8/8 w - -",
"8/8/8/8/4kn2/4Bp2/6q1/4K3 b - -",
"8/7P/8/8/4K3/8/1bk5/8 w - -",
"3rkb1r/pbN2qpp/np1B4/2p1N3/Q3n3/4P3/PP3PPP/R3K2R b KQk -",
"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -",
"rnbqkbnr/ppppp1pp/8/5p1Q/8/4P3/PPPP1PPP/RNB1KBNR b KQkq -",
"8/8/8/1nn5/1nn5/1nn2k2/8/2K5 w - -",
"2bqkb1r/2p2p1p/p1n2n1p/p2pp3/3P4/P3PN2/1PP2PP1/RNBQK2R w KQk -",
"8/8/3p3k/1PpP3P/P5KP/P7/8/8 b - -",
"2kr4/1p3p2/p1n1p1p1/3p1p2/PP1PpP1r/N1P1P2P/6P1/2K2R1R w - -",
"7k/7P/5PK1/8/8/6P1/8/8 b - -",
"3K4/q7/2q5/3k4/8/8/8/8 w - -",
"5K2/6r1/6q1/8/8/8/4k3/8 w - -",
"8/8/8/8/5P2/3QK3/8/4k3 b - -",
"8/1kbK4/8/8/8/8/8/4q3 w - -",
"8/8/8/6k1/8/qp6/8/1K6 w - -",
"8/8/8/5K2/k7/2B5/1Q6/8 b - -",
"8/8/8/8/2N1K3/8/2Q5/k7 b - -",
"7k/5P2/6KP/8/8/8/8/8 b - -",
"3K4/8/3kq3/8/8/8/8/8 w - -",
"8/3b4/8/8/p7/Kpk5/8/8 w - -",
"7k/7P/7K/8/8/8/8/8 b - -",
"k7/2K5/8/2B5/8/p7/P7/8 b - -",
"1k6/1P6/1K6/2P5/8/8/8/8 b - -",
"8/8/5R2/8/8/8/7p/5K1k b - -",
"8/8/8/8/8/5p2/5K1p/7k b - -"
).foreach: fen =>
assertEquals(
toFen(SmallFen.make(Standard, Fen.Simple(fen)).value),
Expand Down

0 comments on commit 7b75902

Please sign in to comment.