### Question:
Integers { public static int rotateLeft(int i, int distance) { if (distance == 0) { return i; } return ((i << distance) | (i >>> (-distance))); }  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_rotateLeftII() { assertEquals(0xF, Integers.rotateLeft(0xF, 0)); assertEquals(0xF0, Integers.rotateLeft(0xF, 4)); assertEquals(0xF00, Integers.rotateLeft(0xF, 8)); assertEquals(0xF000, Integers.rotateLeft(0xF, 12)); assertEquals(0xF0000, Integers.rotateLeft(0xF, 16)); assertEquals(0xF00000, Integers.rotateLeft(0xF, 20)); assertEquals(0xF000000, Integers.rotateLeft(0xF, 24)); assertEquals(0xF0000000, Integers.rotateLeft(0xF, 28)); assertEquals(0xF0000000, Integers.rotateLeft(0xF0000000, 32)); }