[LIB-9] Add original chesshog source files
[chesshog.git] / src / test / resources / org / hedgecode / chess / tcd / TCDParserTest.xml
1 <?xml version='1.0' encoding='UTF-8'?>
2
3 <!--
4   ~ Copyright (c) 2018. Developed by Hedgecode.
5   ~
6   ~ Licensed under the Apache License, Version 2.0 (the "License");
7   ~ you may not use this file except in compliance with the License.
8   ~ You may obtain a copy of the License at
9   ~
10   ~   http://www.apache.org/licenses/LICENSE-2.0
11   ~
12   ~ Unless required by applicable law or agreed to in writing, software
13   ~ distributed under the License is distributed on an "AS IS" BASIS,
14   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   ~ See the License for the specific language governing permissions and
16   ~ limitations under the License.
17   -->
18
19 <config>
20     <tests>
21         <test>
22             <name>Initial Position</name>
23             <tcd>xG</tcd>
24             <position>
25                 <initial>true</initial>
26             </position>
27         </test>
28         <test>
29             <name>Evergreen Game</name>
30             <tcd>AoJVMHMkKPTCE04FGLFV+4nPfYMNawOhjpgGH0xP0XU</tcd>
31             <position>
32                 <squares>
33                     <g1>WHITE_KING</g1>
34                     <a4>WHITE_QUEEN</a4>
35                     <d1>WHITE_ROOK</d1>
36                     <a3>WHITE_BISHOP</a3>
37                     <d3>WHITE_BISHOP</d3>
38                     <a2>WHITE_PAWN</a2>
39                     <c3>WHITE_PAWN</c3>
40                     <f6>WHITE_PAWN</f6>
41                     <f2>WHITE_PAWN</f2>
42                     <g2>WHITE_PAWN</g2>
43                     <h2>WHITE_PAWN</h2>
44                     <e8>BLACK_KING</e8>
45                     <f3>BLACK_QUEEN</f3>
46                     <b8>BLACK_ROOK</b8>
47                     <g8>BLACK_ROOK</g8>
48                     <b7>BLACK_BISHOP</b7>
49                     <b6>BLACK_BISHOP</b6>
50                     <e7>BLACK_KNIGHT</e7>
51                     <a7>BLACK_PAWN</a7>
52                     <c7>BLACK_PAWN</c7>
53                     <d7>BLACK_PAWN</d7>
54                     <f7>BLACK_PAWN</f7>
55                     <h7>BLACK_PAWN</h7>
56                 </squares>
57                 <move>WHITE</move>
58                 <castle>
59                     <white>NONE</white>
60                     <black>NONE</black>
61                 </castle>
62                 <halfmove>0</halfmove>
63                 <fullmove>21</fullmove>
64             </position>
65         </test>
66         <test>
67             <name>Immortal Zugzwang Game</name>
68             <tcd>AfSYHORACKNLLFEDVGGNvE9K2ecYZ3alih4pwGH0xP0XZ</tcd>
69             <position>
70                 <squares>
71                     <h1>WHITE_KING</h1>
72                     <e3>WHITE_QUEEN</e3>
73                     <e1>WHITE_ROOK</e1>
74                     <g1>WHITE_ROOK</g1>
75                     <d2>WHITE_BISHOP</d2>
76                     <g2>WHITE_BISHOP</g2>
77                     <b1>WHITE_KNIGHT</b1>
78                     <a2>WHITE_PAWN</a2>
79                     <b2>WHITE_PAWN</b2>
80                     <d4>WHITE_PAWN</d4>
81                     <g3>WHITE_PAWN</g3>
82                     <h3>WHITE_PAWN</h3>
83                     <g8>BLACK_KING</g8>
84                     <d7>BLACK_QUEEN</d7>
85                     <f5>BLACK_ROOK</f5>
86                     <f2>BLACK_ROOK</f2>
87                     <d6>BLACK_BISHOP</d6>
88                     <d3>BLACK_BISHOP</d3>
89                     <a6>BLACK_PAWN</a6>
90                     <b4>BLACK_PAWN</b4>
91                     <d5>BLACK_PAWN</d5>
92                     <e6>BLACK_PAWN</e6>
93                     <e4>BLACK_PAWN</e4>
94                     <g7>BLACK_PAWN</g7>
95                     <h6>BLACK_PAWN</h6>
96                 </squares>
97                 <move>WHITE</move>
98                 <castle>
99                     <white>NONE</white>
100                     <black>NONE</black>
101                 </castle>
102                 <halfmove>0</halfmove>
103                 <fullmove>26</fullmove>
104             </position>
105         </test>
106         <test>
107             <name>Reti's Etude Variation</name>
108             <tcd>ABnGgJv9mpEG</tcd>
109             <isDiagram>true</isDiagram>
110             <position>
111                 <squares>
112                     <h5>WHITE_KING</h5>
113                     <c6>WHITE_PAWN</c6>
114                     <a6>BLACK_KING</a6>
115                     <f6>BLACK_PAWN</f6>
116                     <g7>BLACK_PAWN</g7>
117                     <h6>BLACK_PAWN</h6>
118                 </squares>
119             </position>
120         </test>
121         <test>
122             <name>Empty Position</name>
123             <tcd>GG</tcd>
124             <isDiagram>true</isDiagram>
125             <position>
126                 <empty>true</empty>
127             </position>
128         </test>
129     </tests>
130 </config>