diff -r 964aa8102804 -r 505c25412b16 icfp-model/src/test/java/ru/bosony/tests/TestTrampolines.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icfp-model/src/test/java/ru/bosony/tests/TestTrampolines.java Sun Jul 15 21:20:04 2012 +0400 @@ -0,0 +1,27 @@ +package ru.bosony.tests; + +import static org.junit.Assert.assertEquals; + +import org.junit.Test; + +import ru.bosony.model.game.Game; +import ru.bosony.model.game.GameState; +import ru.bosony.model.maps.ExampleMaps; +import ru.bosony.model.mine.Mine; + +/** + * @author indvdum (gotoindvdum[at]gmail[dot]com)
+ * 15.07.2012 20:51:52 + * + */ +public class TestTrampolines { + + @Test + public void test() { + String map = ExampleMaps.MAP_FROM_TRAMPOLINES_TASK.getMap(); + Mine mine = new Mine(map); + Game game = new Game(mine); + assertEquals(game.move("DLLLRDDDLLURRRUUULLU"), GameState.Win); + } + +}