if (docid == DocIdSetIterator.NO_MORE_DOCS) break;
intList.add(docid);
}
int[] answer = new int[]{0,1,10,11,20,21,30,31,40,41,50,51,60,61,70,71,80,81,90,91};
assertTrue("wrong result from mix of next and skip",Arrays.equals(answer, intList.toIntArray()));
}
}