Archived
0

корректировка теста RegionTest

This commit is contained in:
2018-10-28 21:14:17 +03:00
parent 19f9785981
commit 8f385aae02

View File

@@ -70,7 +70,7 @@ class RegionTest {
for (int y = 0; y < 16; y++) { for (int y = 0; y < 16; y++) {
for (int x = 0; x < 16; x++) { for (int x = 0; x < 16; x++) {
for (int z = 0; z < 16; z++) { for (int z = 0; z < 16; z++) {
Block block = chunkSection.getBlock(x, y, z); Block block = chunkSection.getBlockLocal(x, y, z);
if (x == 0 && z == 0) { if (x == 0 && z == 0) {
assertEquals(BlockType.STONE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z)); assertEquals(BlockType.STONE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z));
} else if (x == 15 && z == 0) { } else if (x == 15 && z == 0) {
@@ -96,7 +96,7 @@ class RegionTest {
for (int y = 0; y < 16; y++) { for (int y = 0; y < 16; y++) {
for (int x = 0; x < 16; x++) { for (int x = 0; x < 16; x++) {
for (int z = 0; z < 16; z++) { for (int z = 0; z < 16; z++) {
Block block = chunkSection.getBlock(x, y, z); Block block = chunkSection.getBlockLocal(x, y, z);
if (x == 0 && z == 0) { if (x == 0 && z == 0) {
assertEquals(BlockType.STONE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z)); assertEquals(BlockType.STONE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z));
} else if (x == 15 && z == 0) { } else if (x == 15 && z == 0) {