@Test
public void testNextPowerOfTwo() {

    assertEquals( 512, MathUtils.nextPowerOfTwoValue( 511 ) );
    assertEquals( 512, MathUtils.nextPowerOfTwoValue( 512 ) );
    assertEquals( 1024, MathUtils.nextPowerOfTwoValue( 513 ) );
}