.assertThat(sprite(testDir, "img/sprite-many-colors.png")).isIndexedColor()
.doesNotHaveAlpha();
assertThat(messages).isEquivalentTo(
Message.MessageLevel.WARN,
new Message(Message.MessageLevel.WARN,
Message.MessageType.ALPHA_CHANNEL_LOSS_IN_INDEXED_COLOR, null, 12,
"full-alpha-m1"),
new Message(Message.MessageLevel.WARN,
Message.MessageType.ALPHA_CHANNEL_LOSS_IN_INDEXED_COLOR, null, 19,
"full-alpha-m2"),
new Message(Message.MessageLevel.WARN,
Message.MessageType.ALPHA_CHANNEL_LOSS_IN_INDEXED_COLOR, null, 26,
"full-alpha-m3"),
new Message(Message.MessageLevel.WARN,
Message.MessageType.IGNORING_MATTE_COLOR_NO_PARTIAL_TRANSPARENCY, null,
33, "bit-alpha"),
new Message(Message.MessageLevel.WARN,
Message.MessageType.TOO_MANY_COLORS_FOR_INDEXED_COLOR, null, 40,
"many-colors", 293, 255));
}