@Test
    void testGetSimpleStatistics_float() {
        // exclude the maximum value (width*height-1). This will result
        // in a max value of width*height-2
        final TiffRasterStatistics result = raster.getSimpleStatistics(width * height - 1);
        assertEquals(width * height - 2, result.getMaxValue(), "Max value failure");
    }
Test of getSimpleStatistics method, of class TiffRasterData.
src/test/java/org/apache/commons/imaging/formats/tiff/TiffRasterDataTest.java