@Test
public void testWhite() throws Exception {

    BufferedImage image = new BufferedImage(5,5, BufferedImage.TYPE_INT_ARGB) {
        @Override
        public int getRGB(int x, int y) {
            return ARGB.toARGB(1f, 1f, 1f, 1f);
        }
    };
    Assert.assertEquals(0, detector.detect(image), 0.1);
}