[LIB-9] Separate chesshog-format module
[chesshog.git] / src / test / resources / org / hedgecode / chess / ascii / ASCIIParserTest.xml
diff --git a/src/test/resources/org/hedgecode/chess/ascii/ASCIIParserTest.xml b/src/test/resources/org/hedgecode/chess/ascii/ASCIIParserTest.xml
deleted file mode 100644 (file)
index 0a84219..0000000
+++ /dev/null
@@ -1,186 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-
-<!--
-  ~ Copyright (c) 2018. Developed by Hedgecode.
-  ~
-  ~ Licensed under the Apache License, Version 2.0 (the "License");
-  ~ you may not use this file except in compliance with the License.
-  ~ You may obtain a copy of the License at
-  ~
-  ~   http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  -->
-
-<config>
-    <tests>
-        <test>
-            <name>Initial Position</name>
-            <ascii>
-                <![CDATA[
-+-------------------------------+
-| r | n | b | q | k | b | n | r |
-+-------------------------------+
-| p | p | p | p | p | p | p | p |
-+-------------------------------+
-|   |   |   |   |   |   |   |   |
-+-------------------------------+
-|   |   |   |   |   |   |   |   |
-+-------------------------------+
-|   |   |   |   |   |   |   |   |
-+-------------------------------+
-|   |   |   |   |   |   |   |   |
-+-------------------------------+
-| P | P | P | P | P | P | P | P |
-+-------------------------------+
-| R | N | B | Q | K | B | N | R |
-+-------------------------------+
-                ]]>
-            </ascii>
-            <asciiType>HYPHEN</asciiType>
-            <position>
-                <initial>true</initial>
-            </position>
-        </test>
-        <test>
-            <name>Initial Position</name>
-            <ascii>
-                <![CDATA[
- ___ ___ ___ ___ ___ ___ ___ ___
-|_r_|_n_|_b_|_q_|_k_|_b_|_n_|_r_|
-|_p_|_p_|_p_|_p_|_p_|_p_|_p_|_p_|
-|___|___|___|___|___|___|___|___|
-|___|___|___|___|___|___|___|___|
-|___|___|___|___|___|___|___|___|
-|___|___|___|___|___|___|___|___|
-|_P_|_P_|_P_|_P_|_P_|_P_|_P_|_P_|
-|_R_|_N_|_B_|_Q_|_K_|_B_|_N_|_R_|
-                ]]>
-            </ascii>
-            <asciiType>TIGHT</asciiType>
-            <position>
-                <initial>true</initial>
-            </position>
-        </test>
-        <test>
-            <name>Initial Position</name>
-            <ascii>
-                <![CDATA[
-     a  b  c  d  e  f  g  h
-   +------------------------+
- 8 | r  n  b  q  k  b  n  r | 8
- 7 | p  p  p  p  p  p  p  p | 7
- 6 | .  .  .  .  .  .  .  . | 6
- 5 | .  .  .  .  .  .  .  . | 5
- 4 | .  .  .  .  .  .  .  . | 4
- 3 | .  .  .  .  .  .  .  . | 3
- 2 | P  P  P  P  P  P  P  P | 2
- 1 | R  N  B  Q  K  B  N  R | 1
-   +------------------------+
-     a  b  c  d  e  f  g  h
-                ]]>
-            </ascii>
-            <asciiType>DOT</asciiType>
-            <withNotation>true</withNotation>
-            <position>
-                <initial>true</initial>
-            </position>
-        </test>
-        <test>
-            <name>Initial Position</name>
-            <ascii>
-                <![CDATA[
-╔═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╗
-║ r │ n │ b │ q │ k │ b │ n │ r ║
-╟───┼───┼───┼───┼───┼───┼───┼───╢
-║ p │ p │ p │ p │ p │ p │ p │ p ║
-╟───┼───┼───┼───┼───┼───┼───┼───╢
-║   │   │   │   │   │   │   │   ║
-╟───┼───┼───┼───┼───┼───┼───┼───╢
-║   │   │   │   │   │   │   │   ║
-╟───┼───┼───┼───┼───┼───┼───┼───╢
-║   │   │   │   │   │   │   │   ║
-╟───┼───┼───┼───┼───┼───┼───┼───╢
-║   │   │   │   │   │   │   │   ║
-╟───┼───┼───┼───┼───┼───┼───┼───╢
-║ P │ P │ P │ P │ P │ P │ P │ P ║
-╟───┼───┼───┼───┼───┼───┼───┼───╢
-║ R │ N │ B │ Q │ K │ B │ N │ R ║
-╚═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╝
-                ]]>
-            </ascii>
-            <asciiType>CP866</asciiType>
-            <withNotation>false</withNotation>
-            <position>
-                <initial>true</initial>
-            </position>
-        </test>
-        <test>
-            <name>Dilaram's Mate</name>
-            <ascii>
-                <![CDATA[
-+-------------------------------+
-|   | r |   |   |   |   | k |   |
-+-------------------------------+
-|   |   |   |   |   |   |   |   |
-+-------------------------------+
-|   |   |   |   |   | P | P |   |
-+-------------------------------+
-| K |   | n |   |   |   |   |   |
-+-------------------------------+
-|   |   |   |   |   |   | N | R |
-+-------------------------------+
-|   |   |   |   |   |   |   | B |
-+-------------------------------+
-|   | r |   |   |   |   |   |   |
-+-------------------------------+
-|   |   |   |   |   |   |   | R |
-+-------------------------------+
-                ]]>
-            </ascii>
-            <asciiType>HYPHEN</asciiType>
-            <position>
-                <squares>
-                    <a5>WHITE_KING</a5>
-                    <h4>WHITE_ROOK</h4>
-                    <h1>WHITE_ROOK</h1>
-                    <h3>WHITE_BISHOP</h3>
-                    <g4>WHITE_KNIGHT</g4>
-                    <f6>WHITE_PAWN</f6>
-                    <g6>WHITE_PAWN</g6>
-                    <g8>BLACK_KING</g8>
-                    <b8>BLACK_ROOK</b8>
-                    <b2>BLACK_ROOK</b2>
-                    <c5>BLACK_KNIGHT</c5>
-                </squares>
-                <move>WHITE</move>
-            </position>
-        </test>
-        <test>
-            <name>Empty Position</name>
-            <ascii>
-                <![CDATA[
- +------------------------+
- | .  .  .  .  .  .  .  . |
- | .  .  .  .  .  .  .  . |
- | .  .  .  .  .  .  .  . |
- | .  .  .  .  .  .  .  . |
- | .  .  .  .  .  .  .  . |
- | .  .  .  .  .  .  .  . |
- | .  .  .  .  .  .  .  . |
- | .  .  .  .  .  .  .  . |
- +------------------------+
-                ]]>
-            </ascii>
-            <asciiType>DOT</asciiType>
-            <position>
-                <empty>true</empty>
-                <move>WHITE</move>
-            </position>
-        </test>
-    </tests>
-</config>