public void assertColorsEqual(Color expected, Color actual) {
		if (expected.getRGB() == actual.getRGB()) {
			return;
		}
		fail("Expected: [" + expected.getClass().getSimpleName() + "]" + expected + ", but got: [" +
			actual.getClass().getSimpleName() + "]" + actual);
	}
Asserts that the two colors have the same rgb values (handles GColor)
@param expected the expected color
@param actual the actual color
Ghidra/Framework/Gui/src/main/java/generic/test/AbstractGuiTest.java