System.out.println("set = " + set);
}
public static void testNextSetBit() {
FixedSizeBitSet set=new FixedSizeBitSet(64);
int index=set.nextSetBit(10);
assert index == -1 : "expected -1 but got " + index;
index=set.nextSetBit(63);
assert index == -1 : "expected -1 but got " + index;
set.set(62);
index=set.nextSetBit(62);
assert index == 62 : "expected 62 but got " + index;
index=set.nextSetBit(63);
assert index == -1 : "expected -1 but got " + index;
set.set(63);
index=set.nextSetBit(63);
assert index == 63 : "expected 63 but got " + index;
}