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
|
#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",
};
|