@@ -0,0 +1,1208 @@
+package ruby.ninja.experiments.zahlenpuzzle.board;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport rubys.ninja.experiments.zahlenpuzzle.board.BoardSize;%0A%0Aimport static org.junit.Assert.assertSame;%0A%0Apublic class BoardSizeTest %7B%0A    private BoardSize size;%0A%0A    @Before%0A    public void setup() throws Exception %7B%0A        size = new BoardSize(4, 52);%0A    %7D%0A%0A    @Test%0A    public void testWidth() %7B%0A        assertSame(4, size.getWidth());%0A    %7D%0A%0A    @Test%0A    public void testHeight() %7B%0A        assertSame(52, size.getHeight());%0A    %7D%0A%0A    @Test%0A    public void testZeroWidth() throws Exception %7B%0A        BoardSize zeroBoardSize = new BoardSize(0, 0);%0A        assertSame(0, zeroBoardSize.getWidth());%0A    %7D%0A%0A    @Test%0A    public void testZeroHeight() throws Exception %7B%0A        BoardSize zeroBoardSize = new BoardSize(0, 0);%0A        assertSame(0, zeroBoardSize.getHeight());%0A    %7D%0A%0A    @Test(expected = Exception.class)%0A    public void testNegativeWidth() throws Exception %7B%0A        BoardSize negativeBoardSize = new BoardSize(-3, 3);%0A    %7D%0A%0A    @Test(expected = Exception.class)%0A    public void testNegativeHeight() throws Exception %7B%0A        BoardSize negativeBoardSize = new BoardSize(0, -3);%0A    %7D%0A%7D%0A

Add BoardSize Tests