mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-01 14:07:43 +01:00
Test palette placement of high value
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
3cd73310cd
commit
8ce43ca40c
@ -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
|
@Test
|
||||||
public void negPlacement() {
|
public void negPlacement() {
|
||||||
var palettes = testPalettes();
|
var palettes = testPalettes();
|
||||||
|
Loading…
Reference in New Issue
Block a user