From e6cead853d66b4ea9ea8d9c6dba33e5a1720a99d Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Tue, 21 Jul 2026 22:43:26 +0530 Subject: added the remaining ttable tests & fixed bugs --- tests/generated.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'tests/generated.c') diff --git a/tests/generated.c b/tests/generated.c index 7de9c24..a605554 100644 --- a/tests/generated.c +++ b/tests/generated.c @@ -4,15 +4,18 @@ #include "../src/engine/moves/king.c" #include "../src/uci/command.c" -int total_test_count = 14; -bool (*tests[14])(void) = { +int total_test_count = 17; +bool (*tests[17])(void) = { test_fen_no_passant, test_fen_passant, test_starting_position, - test_empty_ttable, + test_ttable_empty, test_ttable_insert_and_find, test_ttable_wrong_key, test_ttable_update_existing, + test_bucket_collision, + test_ttable_replace_shallowest, + test_ttable_many_entries, test_perft_starting_position, test_perft_kiwipete_position, test_perft_position3, @@ -22,15 +25,18 @@ bool (*tests[14])(void) = { test_invalid_cmd_uci_cmd_t, }; -int max_test_name_size = 23; -char test_names[14][100] = { +int max_test_name_size = 25; +char test_names[17][100] = { "fen_no_passant", "fen_passant", "starting_position", - "empty_ttable", + "ttable_empty", "ttable_insert_and_find", "ttable_wrong_key", "ttable_update_existing", + "bucket_collision", + "ttable_replace_shallowest", + "ttable_many_entries", "perft_starting_position", "perft_kiwipete_position", "perft_position3", -- cgit v1.2.3