### Question:
Math2 { public static int getUsingBits(int value) { int bits = 0; while (value != 0) { value >>>= 1; bits++; } return bits; }  static int ceilPowerOfTwo(int value); static int getUsingBits(int value); static int ceil(int value, int interval); static int ceilDiv(int x, int y); static long ceilDiv(long x, int y); static long ceilDiv(long x, long y); static float loop(float value, float interval); static float clamp(float val, float min, float max); static int clamp(int val, int min, int max); static long clamp(long val, long min, long max); static double clamp(double val, double min, double max); static float second(float arg0, float arg1, float arg2); static double second(double arg0, double arg1, double arg2); static int alternativeSignNaturalNumber(int i);  }### Answer:
@Test public void testGetUsingBits() { assertEquals(0, getUsingBits(0)); assertEquals(2, getUsingBits(1), 1); assertEquals(2, getUsingBits(2), 2); assertEquals(3, getUsingBits(4)); assertEquals(32, getUsingBits(-1)); }