-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTests.h
54 lines (40 loc) · 1.28 KB
/
Tests.h
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
48
49
50
51
52
53
/*
* File: Tests.h
* Author: pj
*
* Created on January 7, 2013, 9:50 PM
*/
#ifndef TESTS_H
#define TESTS_H
#include "Common.h"
#include "Board.h"
#include "MoveGenerator.h"
#include "MoveList.h"
#include "Parser.h"
class Tests {
public:
static void run();
private:
static void board();
static void board_can_add_pieces();
static void board_can_remove_pieces();
static void board_can_construct();
static void board_can_reset();
static void parser();
static void parser_can_parse_fen();
static void move();
static void move_list();
static void move_list_can_push();
static void move_list_can_reset();
static void move_list_can_pop();
static void move_generator();
static void move_generator_can_generate_pawn_pushes();
static void move_generator_can_generate_pawn_double_pushes();
static void move_generator_can_generate_pawn_attacks();
static void move_generator_can_generate_pawn_promotions();
static void move_generator_can_generate_pawn_capture_promotions();
static void move_generator_can_generate_pawn_en_passant_attacks();
static void move_generator_can_generate_knight_moves();
static void move_generator_can_generate_king_moves();
};
#endif /* TESTS_H */