### Question:
Integers { public static int numberOfTrailingZeros(int i) { return bitCount((i & -i) - 1); }  static int decode(String string); static int parseInt(String string); static int parseInt(String string, int radix); static String toBinaryString(int i); static String toHexString(int i); static String toDecimalString(int value); static String toString(int value); static int highestOneBit(int i); static int lowestOneBit(int i); static int numberOfLeadingZeros(int i); static int numberOfTrailingZeros(int i); static int bitCount(int i); static int rotateLeft(int i, int distance); static int rotateRight(int i, int distance); static int reverseBytes(int i); static int reverse(int i); static int digit(char c, int radix); static final int MAX_VALUE; static final int MIN_VALUE; static final int MIN_RADIX; static final int MAX_RADIX; }### Answer:
@Test public void test_numberOfTrailingZerosI() { assertEquals(32, Integers.numberOfTrailingZeros(0x0)); assertEquals(31, Integers.numberOfTrailingZeros(Integers.MIN_VALUE)); assertEquals(0, Integers.numberOfTrailingZeros(Integers.MAX_VALUE)); assertEquals(0, Integers.numberOfTrailingZeros(0x1)); assertEquals(3, Integers.numberOfTrailingZeros(0x8)); assertEquals(0, Integers.numberOfTrailingZeros(0xF)); assertEquals(4, Integers.numberOfTrailingZeros(0x10)); assertEquals(7, Integers.numberOfTrailingZeros(0x80)); assertEquals(4, Integers.numberOfTrailingZeros(0xF0)); assertEquals(8, Integers.numberOfTrailingZeros(0x100)); assertEquals(11, Integers.numberOfTrailingZeros(0x800)); assertEquals(8, Integers.numberOfTrailingZeros(0xF00)); assertEquals(12, Integers.numberOfTrailingZeros(0x1000)); assertEquals(15, Integers.numberOfTrailingZeros(0x8000)); assertEquals(12, Integers.numberOfTrailingZeros(0xF000)); assertEquals(16, Integers.numberOfTrailingZeros(0x10000)); assertEquals(19, Integers.numberOfTrailingZeros(0x80000)); assertEquals(16, Integers.numberOfTrailingZeros(0xF0000)); assertEquals(20, Integers.numberOfTrailingZeros(0x100000)); assertEquals(23, Integers.numberOfTrailingZeros(0x800000)); assertEquals(20, Integers.numberOfTrailingZeros(0xF00000)); assertEquals(24, Integers.numberOfTrailingZeros(0x1000000)); assertEquals(27, Integers.numberOfTrailingZeros(0x8000000)); assertEquals(24, Integers.numberOfTrailingZeros(0xF000000)); assertEquals(28, Integers.numberOfTrailingZeros(0x10000000)); assertEquals(31, Integers.numberOfTrailingZeros(0x80000000)); assertEquals(28, Integers.numberOfTrailingZeros(0xF0000000)); }