private void testReadsLength(int length) throws IOException {
final int READ_SIZE=100000; //file is 10^6, so make this smaller to be safe.
SeekableFileStream fileStream = new SeekableFileStream(InputFile);
SeekableBufferedStream bufferedStream = new SeekableBufferedStream(fileStream, BUFFERED_STREAM_BUFFER_SIZE);
for (int i = 0; i < READ_SIZE / length; ++i) {
Assert.assertEquals(bufferedStream.read(buffer, 0, length), length);
}
}