@Test public void testRedColorNoAlphaTransformedToTextureUri() throws Exception { Color expectedColor = Color.RED; int expectedRed = -1; int expectedGreen = 0; int expectedBlue = 0; int expectedAlpha = -1; testRepeatedColorInDataTexture(expectedColor, expectedRed, expectedGreen, expectedBlue, expectedAlpha); }
@Test public void testColorTransformedToTextureUri() throws Exception { int red = 0x12; int green = 0x3; int blue = 0xc4; int alpha = 0xe; Color expectedColor = new Color(red, green, blue, alpha); int expectedRed = 18; int expectedGreen = 3; int expectedBlue = -60; int expectedAlpha = 14; testRepeatedColorInDataTexture(expectedColor, expectedRed, expectedGreen, expectedBlue, expectedAlpha); }