public void testReadBackwards() throws Exception {
CachedRandomAccesDataProvider provider = new CachedRandomAccesDataProvider(testFile);
provider.open();
for(int i=1048572; i >0 ; i-=1) {
provider.moveTo(i*4);
int val = provider.readU4();
assertEquals(i,val);
}
provider.close();
}