for (int i = 1; i <= records; i++) {
boolean found = excerpt.nextIndex();
if (!found)
assertTrue(found);
long l = excerpt.readLong();
double d = excerpt.readDouble();
if (l != i)
assertEquals(i, l);
if (d != i)
assertEquals((double) i, d);
excerpt.finish();