1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include "../src/fen.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) = {
test_fen_no_passant,
test_fen_passant,
test_starting_position,
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 = 23;
char test_names[10][100] = {
"fen_no_passant",
"fen_passant",
"starting_position",
"perft_starting_position",
"perft_kiwipete_position",
"perft_position3",
"white_king_corners",
"black_king_corners",
"uci_cmd_t",
"invalid_cmd_uci_cmd_t",
};
|