@Test
public void testCompare_different_but_clear_0xFE_1px() throws Exception {

	BufferedImage image1 = ImageIO.read(getClass().getResource("hifive_logo.png"));
	BufferedImage image2 = ImageIO.read(getClass().getResource("hifive_logo.png"));
	// 1pxだけ色を変える
	Random random = new Random();
	int x = random.nextInt(image2.getWidth());
	int y = random.nextInt(image2.getHeight());
	image2.setRGB(x, y, (image2.getRGB(x, y) - 1) & 0xFEFFFFFF);
	Rectangle rectangle = new Rectangle(0, 0, image1.getWidth(), image2.getHeight());
	ImageComparedResult result = new IgnoringClearPixelsImageComparator().compare(image1, rectangle, image2,
			rectangle);
	assertThat(result.isSucceeded(), is(true));
	assertThat(result.isFailed(), is(false));
}