[LIB-9] Separate chesshog-format module
[chesshog.git] / chesshog-format / src / test / resources / org / hedgecode / chess / wiki / WikiBuilderTest.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             <wiki>
24                 <![CDATA[
25 {{Шахматная диаграмма
26 |
27 |
28 |rd|nd|bd|qd|kd|bd|nd|rd
29 |pd|pd|pd|pd|pd|pd|pd|pd
30 |  |  |  |  |  |  |  |
31 |  |  |  |  |  |  |  |
32 |  |  |  |  |  |  |  |
33 |  |  |  |  |  |  |  |
34 |pl|pl|pl|pl|pl|pl|pl|pl
35 |rl|nl|bl|ql|kl|bl|nl|rl
36 |
37 }}
38                 ]]>
39             </wiki>
40             <withTemplate>true</withTemplate>
41             <position>
42                 <initial>true</initial>
43             </position>
44         </test>
45         <test>
46             <name>Reti's Etude Variation</name>
47             <wiki>
48                 <![CDATA[
49 |  |  |  |  |  |  |  |
50 |  |  |  |  |  |  |pd|
51 |kd|  |pl|  |  |pd|  |pd
52 |  |  |  |  |  |  |  |kl
53 |  |  |  |  |  |  |  |
54 |  |  |  |  |  |  |  |
55 |  |  |  |  |  |  |  |
56 |  |  |  |  |  |  |  |
57                 ]]>
58             </wiki>
59             <withTemplate>false</withTemplate>
60             <position>
61                 <squares>
62                     <h5>WHITE_KING</h5>
63                     <c6>WHITE_PAWN</c6>
64                     <a6>BLACK_KING</a6>
65                     <f6>BLACK_PAWN</f6>
66                     <g7>BLACK_PAWN</g7>
67                     <h6>BLACK_PAWN</h6>
68                 </squares>
69                 <move>WHITE</move>
70             </position>
71         </test>
72         <test>
73             <name>Empty Position</name>
74             <wiki>
75                 <![CDATA[
76 |  |  |  |  |  |  |  |
77 |  |  |  |  |  |  |  |
78 |  |  |  |  |  |  |  |
79 |  |  |  |  |  |  |  |
80 |  |  |  |  |  |  |  |
81 |  |  |  |  |  |  |  |
82 |  |  |  |  |  |  |  |
83 |  |  |  |  |  |  |  |
84                ]]>
85             </wiki>
86             <position>
87                 <empty>true</empty>
88                 <move>WHITE</move>
89             </position>
90         </test>
91     </tests>
92 </config>