diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-10 16:01:57 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-10 16:01:57 +0530 |
| commit | a14da2fe3864712dab4e7c4cfb5c323026d668de (patch) | |
| tree | 418c8c8ff44a611cbe1c1269b10926527046e232 /tests/generated.c | |
| parent | 2761f8a533e2b025f209222a1e4ec70b91c7e8ee (diff) | |
moving header files to include directory & moving resources in it's own directory
i know currently there is race condition, but the code is getting too
messy, i will continue to this after i make a vis tool to analyse how i
should split up files & stuff
the code rn needs intense restructing for it to make any more progress
Diffstat (limited to 'tests/generated.c')
| -rw-r--r-- | tests/generated.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/generated.c b/tests/generated.c new file mode 100644 index 0000000..777f8b1 --- /dev/null +++ b/tests/generated.c @@ -0,0 +1,25 @@ +#include "../src/engine/fen.c" +#include "../src/engine/moves/king.c" +#include "../src/uci/command.c" + +int total_test_count = 7; +bool (*tests[7])(void) = { + test_fen_no_passant, + test_fen_passant, + test_starting_position, + test_white_king_corners, + test_black_king_corners, + test_ucicmd, + test_invalid_cmd_ucicmd, +}; + +int max_test_name_size = 18; +char test_names[7][100] = { + "fen_no_passant", + "fen_passant", + "starting_position", + "white_king_corners", + "black_king_corners", + "ucicmd", + "invalid_cmd_ucicmd", +}; |
