assert set.cardinality() == 0;
assert set.set(4) && set.cardinality() == 1;
}
public static void testSetMultiple() {
FixedSizeBitSet set=new FixedSizeBitSet(10);
set.set(4, 7);
assert set.cardinality() == 4;
assert set.get(4) && set.get(7);
set.set(8,9);
assert set.cardinality() == 6;
set=new FixedSizeBitSet(260);
set.set(2,5);
set.set(30,230);
assert set.cardinality() == 205;
assert set.get(30) && set.get(230);
System.out.println("set = " + set);
set=new FixedSizeBitSet(10);
set.set(5,5);
assert set.cardinality() == 1 && set.get(5);
}