@Test
public void testBulkOps() throws Exception {

  for (DataChecksum.Type type : CHECKSUM_TYPES) {
    System.err.println(
        "---- beginning tests with checksum type " + type  + "----");
    DataChecksum checksum = DataChecksum.newDataChecksum(
        type, BYTES_PER_CHUNK);
    for (boolean useDirect : new boolean[]{false, true}) {
      doBulkTest(checksum, 1023, useDirect);
      doBulkTest(checksum, 1024, useDirect);
      doBulkTest(checksum, 1025, useDirect);
    }
  }
}