@Test
    public void testPointSize() {
        logger.info("nextGreaterPowerOf2");

        int[] number =     {0, 1,2, 3,4, 5,6,7,8,  9,10,11,12,13,14,15,16,17,18,19,20};
        int[] expResult =  {1, 1,2, 2,2, 4,4,4,4,  4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8};
        int[] expResult2 = {1, 1,1, 2,2, 2,2,2,2,  4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4};

        for (int i = 0; i < number.length; i++) {
            logger.info("Trying "+i);
            Point result = PowersHelper.getPointSize(number[i]);
            assertEquals(new Point (expResult[i],expResult2[i]), result);
        }
    }