BitsInt { public static final boolean test(int bits, boolean isSet, int bitIndex) { check(bitIndex) ; return test$(bits, isSet, bitIndex) ; } private  BitsInt(); static final int unpack(int bits, int start, int finish); static final int pack(int bits, int value, int start, int finish); static final int unpack(String str, int startChar, int finishChar); static final int set(int bits, int bitIndex); static final int set(int bits, int start, int finish); static final boolean test(int bits, boolean isSet, int bitIndex); static final boolean isSet(int bits, int bitIndex); static final boolean test(int bits, int value, int start, int finish); static final int access(int bits, int start, int finish); static final int clear(int bits, int bitIndex); static final int clear(int bits, int start, int finish); static final int mask(int start, int finish); static final int maskZero(int start, int finish);  }
@Test public void testBitTest1() { int v = 0 ; assertTrue(BitsInt.test(v, false, 0)) ; }
@Test public void testBitTest2() { int v = 1 ; assertTrue(BitsInt.test(v, true, 0)) ; }
@Test public void testBitTest3() { int v = -1 ; assertTrue(BitsInt.test(v, true, 31)) ; }
@Test public void testBitTest4() { int v = 0x7FFFFFFF ; assertTrue(BitsInt.test(v, false, 31)) ; }
@Test public void testBitsTest1() { int v = 0x76543210 ; assertTrue(BitsInt.test(v, 0x0, 0, 4)) ; }
@Test public void testBitsTest2() { int v = 0x76543210 ; assertTrue(BitsInt.test(v, 0x10, 0, 8)) ; }
@Test public void testBitsTest3() { int v = 0x76543210 ; assertTrue(BitsInt.test(v, v, 0, 32)) ; }
@Test public void testBitsTest4() { int v = 0x76543210 ; assertFalse(BitsInt.test(v, 0, 0, 32)) ; }
@Test public void testBitsTest5() { int v = 0x76543210 ; assertTrue(BitsInt.test(v, 0x00543200, 8, 24)) ; }