summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-08-23 16:06:42 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-08-23 16:06:42 +0530
commit99de764d1d1b936594643e34ae4d2c4a239f69db (patch)
treef45884164774e760e9ae37d3c37ccfe80dbbc836 /tests
parent54afeb6dd89fffae92274cb6fe2e9a86fd57c6e3 (diff)
phase C, D & E
Diffstat (limited to 'tests')
-rw-r--r--tests/generated.c33
1 files changed, 29 insertions, 4 deletions
diff --git a/tests/generated.c b/tests/generated.c
index 3f6fc99..408a8b2 100644
--- a/tests/generated.c
+++ b/tests/generated.c
@@ -1,14 +1,15 @@
#include "../src/fen.c"
#include "../src/engine/search.c"
#include "../src/engine/evaluate.c"
+#include "../src/engine/thread.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 = 25;
-bool (*tests[25])(void) = {
+int total_test_count = 37;
+bool (*tests[37])(void) = {
test_fen_no_passant,
test_fen_passant,
test_starting_position,
@@ -18,6 +19,13 @@ bool (*tests[25])(void) = {
test_search_stop_signal_halts,
test_eval_startpos_is_balanced,
test_eval_scales_with_material,
+ test_root_thread_emits_info_and_bestmove,
+ test_root_thread_respects_depth_limit,
+ test_root_thread_stops_on_node_limit,
+ test_root_thread_reports_mate,
+ test_child_workers_claim_and_share,
+ test_child_thread_stops_on_signal,
+ test_child_workers_find_mate_score,
test_ttable_empty,
test_ttable_insert_and_find,
test_ttable_wrong_key,
@@ -27,6 +35,11 @@ bool (*tests[25])(void) = {
test_ttable_many_entries,
test_threads_args_init_root_propagates,
test_threads_args_init_child_propagates,
+ test_split_pool_alloc_free,
+ test_split_claim_moves_exactly_once,
+ test_split_merge_last_owns,
+ test_split_share_propagates_best,
+ test_help_scan_finds_published_work,
test_perft_starting_position,
test_perft_kiwipete_position,
test_perft_position3,
@@ -36,8 +49,8 @@ bool (*tests[25])(void) = {
test_invalid_cmd_uci_cmd_t,
};
-int max_test_name_size = 34;
-char test_names[25][100] = {
+int max_test_name_size = 35;
+char test_names[37][100] = {
"fen_no_passant",
"fen_passant",
"starting_position",
@@ -47,6 +60,13 @@ char test_names[25][100] = {
"search_stop_signal_halts",
"eval_startpos_is_balanced",
"eval_scales_with_material",
+ "root_thread_emits_info_and_bestmove",
+ "root_thread_respects_depth_limit",
+ "root_thread_stops_on_node_limit",
+ "root_thread_reports_mate",
+ "child_workers_claim_and_share",
+ "child_thread_stops_on_signal",
+ "child_workers_find_mate_score",
"ttable_empty",
"ttable_insert_and_find",
"ttable_wrong_key",
@@ -56,6 +76,11 @@ char test_names[25][100] = {
"ttable_many_entries",
"threads_args_init_root_propagates",
"threads_args_init_child_propagates",
+ "split_pool_alloc_free",
+ "split_claim_moves_exactly_once",
+ "split_merge_last_owns",
+ "split_share_propagates_best",
+ "help_scan_finds_published_work",
"perft_starting_position",
"perft_kiwipete_position",
"perft_position3",