@Test
public void testBoostedGray() throws Exception {

    BufferedImage im = new BufferedImage(300, 300, BufferedImage.TYPE_INT_ARGB);
    for (int i = 0; i < im.getWidth(); i++) {
        for (int j = 0; j < im.getHeight(); j++) {
            im.setRGB(i, j, ARGB.toARGB(1, 1, 1, 1));
        }
    }
    BufferedImage grayscale = ConvertImage.boostedGray(im);
    int px = grayscale.getRGB(0, 0);
    Assert.assertEquals(ARGB.getB(px), ARGB.getR(px), 0.001);
}