-
Notifications
You must be signed in to change notification settings - Fork 8
/
main.cpp
56 lines (41 loc) · 1.33 KB
/
main.cpp
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
54
/*
Cinnamon UCI chess engine
Copyright (C) Giuseppe Cannella
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "Uci.h"
#include "GetOpt.h"
#if defined(FULL_TEST)
#include <gtest/gtest.h>
#endif
/*
8| 63 62 61 60 59 58 57 56
7| 55 54 53 52 51 50 49 48
6| 47 46 45 44 43 42 41 40
5| 39 38 37 36 35 34 33 32
4| 31 30 29 28 27 26 25 24
3| 23 22 21 20 19 18 17 16
2| 15 14 13 12 11 10 09 08
1| 07 06 05 04 03 02 01 00
...a b c d e f g h
*/
using namespace constants;
int main(int argc, char **argv) {
assert(sizeof(Hash::_Thash) == 16);
assert(sizeof(_Tmove) == 8);
#ifdef FULL_TEST
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
#endif
GetOpt::parse(argc, argv);
return 0;
}