jago-server/src/test/java/jago/server/board/BoardSizeTest.java
@Test
    public void testGetSize() {
        assertEquals(sBoardSize, BoardSize.getBoardSize(9));
        assertEquals(mBoardSize, BoardSize.getBoardSize(13));
        assertEquals(lBoardSize, BoardSize.getBoardSize(19));
        assertEquals(sBoardSize.getSize(), 9);
        assertEquals(mBoardSize.getSize(), 13);
        assertEquals(lBoardSize.getSize(), 19);
        assertTrue(0==BoardSize.indexBoardSize(9));
        assertTrue(1==BoardSize.indexBoardSize(13));
        assertTrue(2==BoardSize.indexBoardSize(19));
        
    }
/**
     * Test of getSize method, of class BoardSize.
     */
Test of getSize method, of class BoardSize.
Test of getSize method of class BoardSize .
@Test
    public void testGetSize() {
        assertEquals(sBoardSize, BoardSize.getBoardSize(9));
        assertEquals(mBoardSize, BoardSize.getBoardSize(13));
        assertEquals(lBoardSize, BoardSize.getBoardSize(19));
        assertEquals(sBoardSize.getSize(), 9);
        assertEquals(mBoardSize.getSize(), 13);
        assertEquals(lBoardSize.getSize(), 19);
        assertTrue(0==BoardSize.indexBoardSize(9));
        assertTrue(1==BoardSize.indexBoardSize(13));
        assertTrue(2==BoardSize.indexBoardSize(19));
    }
@ Test public void testGetSize ( ) { assertEquals ( sBoardSize , BoardSize . getBoardSize ( 9 ) ) ; assertEquals ( mBoardSize , BoardSize . getBoardSize ( 13 ) ) ; assertEquals ( lBoardSize , BoardSize . getBoardSize ( 19 ) ) ; assertEquals ( sBoardSize . getSize ( ) , 9 ) ; assertEquals ( mBoardSize . getSize ( ) , 13 ) ; assertEquals ( lBoardSize . getSize ( ) , 19 ) ; assertTrue ( 0 == BoardSize . indexBoardSize ( 9 ) ) ; assertTrue ( 1 == BoardSize . indexBoardSize ( 13 ) ) ; assertTrue ( 2 == BoardSize . indexBoardSize ( 19 ) ) ; }
Test of getSize method, of class BoardSize.
Test of getSize method of class BoardSize .