}
// HSEARCH-610
@Test
public void testWithEliasFanoBitSet() throws IOException {
EliasFanoDocIdSet idSet1 = new EliasFanoDocIdSet( 4, 12 );
idSet1.encodeFromDisi( integersToDocIdSet( 0, 5, 6, 10 ).iterator() );
EliasFanoDocIdSet idSet2 = new EliasFanoDocIdSet( 1, 6 );
idSet2.encodeFromDisi( integersToDocIdSet( 6 ).iterator() );
AndDocIdSet actual = createAndDocIdSet( idSet1, idSet2 );
DocIdSet expected = integersToDocIdSet( 6 );
assertTrue( docIdSetsEqual( expected, actual ) );
}