diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-20 21:14:44 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-20 21:14:44 +0530 |
| commit | 1ebaab7b771c4c73be66895515f948ffe2394cc0 (patch) | |
| tree | 47ae3d951056cc9a3e3b4aa76f0b15fd631a16b0 /tests/generated.c | |
| parent | a0970bddbd9f6b97b6a12ba7f73fd1810a2e1e1b (diff) | |
simple ttable tests
Diffstat (limited to 'tests/generated.c')
| -rw-r--r-- | tests/generated.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/generated.c b/tests/generated.c index f2ee156..7de9c24 100644 --- a/tests/generated.c +++ b/tests/generated.c @@ -1,13 +1,18 @@ #include "../src/fen.c" +#include "../src/engine/ttable.c" #include "../src/engine/moves.c" #include "../src/engine/moves/king.c" #include "../src/uci/command.c" -int total_test_count = 10; -bool (*tests[10])(void) = { +int total_test_count = 14; +bool (*tests[14])(void) = { test_fen_no_passant, test_fen_passant, test_starting_position, + test_empty_ttable, + test_ttable_insert_and_find, + test_ttable_wrong_key, + test_ttable_update_existing, test_perft_starting_position, test_perft_kiwipete_position, test_perft_position3, @@ -18,10 +23,14 @@ bool (*tests[10])(void) = { }; int max_test_name_size = 23; -char test_names[10][100] = { +char test_names[14][100] = { "fen_no_passant", "fen_passant", "starting_position", + "empty_ttable", + "ttable_insert_and_find", + "ttable_wrong_key", + "ttable_update_existing", "perft_starting_position", "perft_kiwipete_position", "perft_position3", |
