@Test
public void testGetR() throws Exception {

    Assert.assertEquals(1, ARGB.getR(-1), 0.1);
    Assert.assertEquals(0, ARGB.getR(0), 0.1);
    Assert.assertEquals(1, ARGB.getR(0x00FF0000), 0.1);
    Assert.assertEquals(0, ARGB.getR(0xFF00FFFF), 0.1);
}