#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 = 17; bool (*tests[17])(void) = { test_fen_no_passant, test_fen_passant, test_starting_position, test_ttable_empty, test_ttable_insert_and_find, test_ttable_wrong_key, test_ttable_update_existing, test_bucket_collision, test_ttable_replace_shallowest, test_ttable_many_entries, test_perft_starting_position, test_perft_kiwipete_position, test_perft_position3, test_white_king_corners, test_black_king_corners, test_uci_cmd_t, test_invalid_cmd_uci_cmd_t, }; int max_test_name_size = 25; char test_names[17][100] = { "fen_no_passant", "fen_passant", "starting_position", "ttable_empty", "ttable_insert_and_find", "ttable_wrong_key", "ttable_update_existing", "bucket_collision", "ttable_replace_shallowest", "ttable_many_entries", "perft_starting_position", "perft_kiwipete_position", "perft_position3", "white_king_corners", "black_king_corners", "uci_cmd_t", "invalid_cmd_uci_cmd_t", };