### Question:
ColorRgba { @Override public boolean equals(Object object) { if (this == object) { return true; } if (object == null || object.getClass() != getClass()) { return false; } final ColorRgba color = (ColorRgba) object; return color.value == value; } ColorRgba(int r, int g, int b);  ColorRgba(int r, int g, int b, int a);  ColorRgba(int value); int getRgba(); int getRed(); int getGreen(); int getBlue(); int getAlpha(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final ColorRgba RED; static final ColorRgba GREEN; static final ColorRgba BLUE; static final ColorRgba CYAN; static final ColorRgba PURPLE; static final ColorRgba YELLOW; static final ColorRgba WHITE; static final ColorRgba GRAY_LIGHT; static final ColorRgba GRAY; static final ColorRgba GRAY_DARK; static final ColorRgba BLACK; static final ColorRgba TRANSPARENT; static final ColorRgba OPAQUE; }### Answer:
@Test void testEquals() { final int step = 654_321; for (int i = Integer.MIN_VALUE; i < Integer.MAX_VALUE - step; i += step) { final ColorRgba color = new ColorRgba(i); for (int j = Integer.MIN_VALUE; j < Integer.MAX_VALUE - step; j += step) { if (i != j) { assertNotEquals(color, new ColorRgba(j)); } } } assertEquals(ColorRgba.BLACK, ColorRgba.BLACK); assertNotEquals(ColorRgba.WHITE, null); assertNotEquals(ColorRgba.WHITE, new Object()); assertNotEquals(ColorRgba.WHITE, ColorRgba.BLACK); }