public void test1_isEmpty() { for (int i = 0; i < 10; i++) { assertTrue(label(i), Bits.isEmpty(new int[i])); } }
public void test1_isEmpty() { for (int i = 0; i < 10; i++) { assertTrue(label(i), Bits.isEmpty(new int[i])); } }
public void test2_isEmpty() { for (int i = 1; i < 1000; i += 11) { int[] bits = Bits.makeBitSet(i); for (int j = i % 11; j >= 0; j--) { int x = i - 1 - (j * 13); if (x >= 0) { Bits.set(bits, x); } } assertFalse(label(i), Bits.isEmpty(bits)); } }
public void test2_isEmpty() { for (int i = 1; i < 1000; i += 11) { int[] bits = Bits.makeBitSet(i); for (int j = i % 11; j >= 0; j--) { int x = i - 1 - (j * 13); if (x >= 0) { Bits.set(bits, x); } } assertFalse(label(i), Bits.isEmpty(bits)); } }
while (!Bits.isEmpty(workSet)) { try { bytes.processWorkSet(workSet, this);
while (!Bits.isEmpty(workSet)) { try { bytes.processWorkSet(workSet, this);
while (!Bits.isEmpty(workSet)) { try { bytes.processWorkSet(workSet, this);
while (!Bits.isEmpty(workSet)) { try { bytes.processWorkSet(workSet, this);
while (!Bits.isEmpty(workSet)) { try { bytes.processWorkSet(workSet, this);
while (!Bits.isEmpty(workSet)) { try { bytes.processWorkSet(workSet, this);