int count = 0;
while (binFeats.hasNext()) {
assertTrue(noBinFeats.hasNext());
Feature bf = binFeats.next();
Feature nbf = noBinFeats.next();
assertEquals(chr, bf.getChr());
assertTrue(bf.getStart() >= start);
assertTrue(bf.getStart() < end);
assertEquals(nbf.getChr(), bf.getChr());
assertEquals(nbf.getStart(), bf.getStart());
assertEquals(nbf.getEnd(), bf.getEnd());
count++;
}
assertFalse(noBinFeats.hasNext());