assertTrue("Failed to flip bit " + i, bs.get(i));
}
assertTrue("Shouldn't have flipped bit 64", !bs.get(64));
bs = new BitSet(32);
bs.flip(0, 65);
for (int i = 0; i < 65; i++) {
assertTrue("Failed to flip bit " + i, bs.get(i));
}
assertTrue("Shouldn't have flipped bit 65", !bs.get(65));