@Test public void checkImageGeneration() {
        try {
            reduct.setSourceImage(ImageIO.read(new File("src/test/resources/Mario.png")));
            reduct.setDestBitDepth(3);
            reduct.generateImage();
            assertTrue(reduct.getReducedImage() != null);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }