diff -r 0e81a28e9ccf -r 735c03e46425 icfp-model/src/test/java/ru/bosony/tests/TestMovements.java
--- a/icfp-model/src/test/java/ru/bosony/tests/TestMovements.java Sun Jul 15 00:16:20 2012 +0400
+++ b/icfp-model/src/test/java/ru/bosony/tests/TestMovements.java Sun Jul 15 00:48:47 2012 +0400
@@ -1,39 +1,27 @@
package ru.bosony.tests;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
import java.util.Set;
import org.junit.Test;
+import ru.bosony.model.maps.ExampleMaps;
import ru.bosony.model.mine.Mine;
import ru.bosony.model.moving.Movement;
/**
- * @author indvdum (gotoindvdum[at]gmail[dot]com)
- * 14.07.2012 2:29:05
- *
+ * @author indvdum (gotoindvdum[at]gmail[dot]com)
+ * 14.07.2012 2:29:05
+ *
*/
public class TestMovements {
@Test
public void test() {
- /* Map 01 (6x6)
- *
- ######
- #. *R#
- # \.#
- #\ * #
- L .\#
- ######
- */
- String map =
- "######\n" +
- "#. *R#\n" +
- "# \\.#\n" +
- "#\\ * #\n" +
- "L .\\#\n" +
- "######";
+ String map = ExampleMaps.MAP_01.getMap();
Mine mine = new Mine(map);
assertEquals(mine.getSizeX(), 6);
assertEquals(mine.getSizeY(), 6);