public void testBoardCentralArea() throws BoardException{
        Board b = new Board(3);
        Point[] ps = b.getCentralPoints();
        assertNotNull(ps);
        assertEquals(1, ps.length);
        assertEquals(1, ps[0].x);
        assertEquals(1, ps[0].y);
        for(int i=4; i<=10; i++){
            Board bx = new Board(i);
            Point[] pss=bx.getCentralPoints();
            if(bx.getSize()%2==0){
                assertEquals(4, pss.length);               
            } else {
                assertEquals(9, pss.length);               
            }
            assertEquals((int)(bx.getSize()/2) - 1, pss[0].x);
            assertEquals((int)(bx.getSize()/2) - 1, pss[0].y);
        }
    }