@Test
    void testFullPixelMatch() throws IOException {

        // testSet1 is more comprehensive than testSet0 and
        // would be sufficient to cover all cases. The test files for testSet0
        // are simpler and might be more useful for debugging
        processTestSet(testSet0);
        processTestSet(testSet1);

        // test set 2 includes a TIFF-specific alpha channel
        processTestSet(testSet2);

        // test set 3 includes an add-valued width and height that does
        // not evently fit a block of JPEG data. It is used to test
        // for the proper handling of edge-cases.
        processTestSet(testSet3);
    }
Verify that TIFF files using JPEG compression provide a pixel-by-pixel match with source files that use a lossless compression.
src/test/java/org/apache/commons/imaging/formats/tiff/TiffJpegTest.java