@Test(timeout = 8000)
public void checkSumOfStreamSample1() throws IOException {

    for (int i = 0; i < testSets.length; i++) {
        int checkSum = Main.checkSumOfStream(new ByteArrayInputStream(testSets[i]));
        assertEquals(testResults[i], checkSum);
    }
}