// auto-testing of test utility methods for conversion in DocIdSetIterator
public void testIteratorMatchesTestArray() throws IOException {
DocIdSet docIdSet0_9 = arrayToDocIdSet(testDataFrom0to9);
DocIdSetIterator docIdSetIterator = docIdSet0_9.iterator();
assertTrue( docIdSetIterator.next() );
assertEquals( 0, docIdSetIterator.doc() );
assertTrue( docIdSetIterator.skipTo(9) );
assertFalse( docIdSetIterator.skipTo(10) );
}
public void testAndDocIdSets() {