@@ -0,0 +1,777 @@
+package org.apache.commons.imaging.formats.tiff.datareaders;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertArrayEquals;%0A%0Apublic class DataReaderStripsTest %7B%0A    @Test%0A    public void testApplyPredictor() throws Exception %7B%0A        int%5B%5D bitsPerPixel = %7B1,2,3%7D;%0A        DataReaderStrips strips = new DataReaderStrips(null, null, 3, bitsPerPixel , 2, 4, 3, 1, 1, null, 2, null);%0A        strips.resetPredictor();%0A        int%5B%5D samples = %7B10, 355, 355, 255%7D;%0A        int%5B%5D expected = %7B10, 99, 99, 255%7D;%0A        int%5B%5D predicted = strips.applyPredictor(samples);%0A        assertArrayEquals(expected, predicted);%0A        expected = new int%5B%5D%7B20, 198, 198, 254%7D;%0A        predicted = strips.applyPredictor(samples);%0A        assertArrayEquals(expected, predicted);%0A    %7D%0A%7D

add test for DataReaderStripsTest::applyPredictor