summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-08-15 15:15:21 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-08-15 15:15:21 +0530
commit54afeb6dd89fffae92274cb6fe2e9a86fd57c6e3 (patch)
tree0d6aa206f28c9b00f785d0981bb77a97851f1ce4 /tests
parentf97ea63ac29c08530b1aaff89277262b44ef7a11 (diff)
phase B
Diffstat (limited to 'tests')
-rw-r--r--tests/generated.c20
1 files changed, 17 insertions, 3 deletions
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",