@Test
public void testMerge() throws Exception {

	List<List<BufferedImage>> images = new ArrayList<List<BufferedImage>>();
	images.add(new ArrayList<BufferedImage>());
	images.get(0).add(ImageIO.read(getClass().getResource("hifive_logo.png")));
	images.get(0).add(ImageIO.read(getClass().getResource("hifive_logo.png")));
	images.add(new ArrayList<BufferedImage>());
	images.get(1).add(ImageIO.read(getClass().getResource("hifive_logo.png")));
	images.get(1).add(ImageIO.read(getClass().getResource("hifive_logo.png")));
	// expectedのmerge.pngは事前に出力したImageUtils.mergeの結果を使用
	BufferedImage expected = ImageIO.read(getClass().getResource("ImageUtilsTest_merge.png"));
	BufferedImage actual = ImageUtils.merge(images);
	assertThat(ImageUtils.imageEquals(expected, actual), is(true));
}