@Test
public void testToPixel() throws Exception {

	int[] argb = { 0xff, 0xff, 0xff, 0xff };
	int a = 0xff, r = 0xff, g = 0xff, b = 0xff;
	int expected = 0xffffffff;
	int actual;
	// 引数が配列の場合
	actual = ImageUtils.toPixel(argb);
	assertThat(actual, is(expected));
	// 引数がARGBの場合
	actual = ImageUtils.toPixel(a, r, g, b);
	assertThat(actual, is(expected));
	// 引数がRGBの場合
	actual = ImageUtils.toPixel(r, g, b);
	assertThat(actual, is(expected));
}