@Test
public void testChunking() {

    final int minWords = ChunkedCrcParameters.MIN_CHUNK_WORDS;
    final int maxWords = minWords * 2;
    final int len = maxWords * 8;
    final byte[] bytes = new byte[len];
    final int expected = new StandardCrcProvider().getIncrementalInt(CRC32C).calculate(bytes);
    for (int i = minWords; i <= maxWords; ++i) {
        final ChunkedCrcParameters params = new ChunkedCrcParameters(CRC32C, new int[] { i });
        final IncrementalIntHash impl = PROVIDER.getIncrementalInt(params);
        assertEquals(expected, impl.calculate(bytes));
    }
}