### Question:
ARGB { public static float getB(int argb) { return ((float) ((argb & 0xFF))) / 255; }  static float getA(int argb); static int rawA(int argb); static float getR(int argb); static int rawR(int argb); static float getG(int argb); static int rawG(int argb); static float getB(int argb); static int rawB(int argb); static int toARGB(float a, float r, float g, float b); static int toARGB(int a, int r, int g, int b); static float[] toHSVA(int argb);  }### Answer:
@Test public void testGetB() throws Exception { Assert.assertEquals(1, ARGB.getB(-1), 0.1); Assert.assertEquals(0, ARGB.getB(0), 0.1); Assert.assertEquals(1, ARGB.getB(0x000000FF), 0.1); Assert.assertEquals(0, ARGB.getB(0xFFFFFF00), 0.1); }