summaryrefslogtreecommitdiff
path: root/tests/generated.c
blob: a605554b9e89d90a2aabbd6e9a1a470756b5f54d (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#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",
};