package li.seiji.minichess;

/**
 * Created by seiji on 5/15/17.
 */
public class MoveTest {
}

@@ -26,70 +26,576 @@
 s;%0A%0A
-/**%0A * Created by seiji on 5/15/17.%0A */%0Apublic class MoveTest %7B
+import org.junit.Test;%0A%0Aimport static junit.framework.TestCase.assertEquals;%0A%0Apublic class MoveTest %7B%0A%0A    @Test%0A    public void testMoveStringParsing() %7B%0A        Move move = new Move(%22c2-e4%22);%0A        assertSquareCorrect(move.from, 2, 1);%0A        assertSquareCorrect(move.to, 4, 3);%0A%0A        move = new Move(%22e4-c2%22);%0A        assertSquareCorrect(move.from, 4, 3);%0A        assertSquareCorrect(move.to, 2, 1);%0A    %7D%0A%0A%0A%0A    private static void assertSquareCorrect(Square square, int x, int y) %7B%0A        assertEquals(x, square.x);%0A        assertEquals(y, square.y);%0A    %7D%0A
 %0A%7D%0A

Implement Move TestCase