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;