Test palette placement of high value

Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
TheMode 2022-05-22 17:44:58 +02:00
parent 3cd73310cd
commit 8ce43ca40c

View File

@ -55,6 +55,15 @@ public class PaletteTest {
}
}
@Test
public void placementHighValue() {
final int value = 250_000;
for (Palette palette : testPalettes()) {
palette.set(0, 0, 1, value);
assertEquals(value, palette.get(0, 0, 1));
}
}
@Test
public void negPlacement() {
var palettes = testPalettes();