From 54afeb6dd89fffae92274cb6fe2e9a86fd57c6e3 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Sat, 15 Aug 2026 15:15:21 +0530 Subject: phase B --- tests/generated.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/generated.c b/tests/generated.c index 8a9014f..3f6fc99 100644 --- a/tests/generated.c +++ b/tests/generated.c @@ -1,15 +1,23 @@ #include "../src/fen.c" +#include "../src/engine/search.c" +#include "../src/engine/evaluate.c" #include "../src/engine/ttable.c" #include "../src/engine/threads.c" #include "../src/engine/moves.c" #include "../src/engine/moves/king.c" #include "../src/uci/command.c" -int total_test_count = 19; -bool (*tests[19])(void) = { +int total_test_count = 25; +bool (*tests[25])(void) = { test_fen_no_passant, test_fen_passant, test_starting_position, + test_search_finds_mate_in_one, + test_search_handles_no_moves, + test_search_respects_depth, + test_search_stop_signal_halts, + test_eval_startpos_is_balanced, + test_eval_scales_with_material, test_ttable_empty, test_ttable_insert_and_find, test_ttable_wrong_key, @@ -29,10 +37,16 @@ bool (*tests[19])(void) = { }; int max_test_name_size = 34; -char test_names[19][100] = { +char test_names[25][100] = { "fen_no_passant", "fen_passant", "starting_position", + "search_finds_mate_in_one", + "search_handles_no_moves", + "search_respects_depth", + "search_stop_signal_halts", + "eval_startpos_is_balanced", + "eval_scales_with_material", "ttable_empty", "ttable_insert_and_find", "ttable_wrong_key", -- cgit v1.2.3