@Test
public void testNextPowerOfTwo() {

    Assert.assertEquals(1, MathUtil.nextPowerOfTwo(0));
    Assert.assertEquals(16, MathUtil.nextPowerOfTwo(13));
    Assert.assertEquals(1024, MathUtil.nextPowerOfTwo(1024));
    Assert.assertEquals(0, MathUtil.nextPowerOfTwo(-25));
}