Add game framework tests and planning docs

This commit is contained in:
2026-05-20 20:18:55 -08:00
parent 145bc948dd
commit a5476ccdd7
6 changed files with 1201 additions and 59 deletions
+2 -2
View File
@@ -575,7 +575,7 @@ test "formatFen includes promoted white pieces" {
state.fullmove = 1;
state.setSquare(52, piece.encode(.white, .pawn));
try state.move(52, 60, case.promotion_type);
state.move(52, 60, case.promotion_type);
const actual = try formatFen(std.testing.allocator, state);
defer std.testing.allocator.free(actual);
@@ -601,7 +601,7 @@ test "formatFen includes promoted black pieces" {
state.fullmove = 7;
state.setSquare(11, piece.encode(.black, .pawn));
try state.move(11, 3, case.promotion_type);
state.move(11, 3, case.promotion_type);
const actual = try formatFen(std.testing.allocator, state);
defer std.testing.allocator.free(actual);