geforkt von Mirrors/FastAsyncWorldEdit
Fix some maven tests
Dieser Commit ist enthalten in:
Ursprung
e649987015
Commit
cba246a2a5
@ -34,6 +34,9 @@ public class BlockDataTest {
|
|||||||
@Test
|
@Test
|
||||||
public void testRotateFlip() {
|
public void testRotateFlip() {
|
||||||
for (int type = 0; type < 256; ++type) {
|
for (int type = 0; type < 256; ++type) {
|
||||||
|
if (type == BlockID.HAY_BLOCK) {
|
||||||
|
continue; // not monotonous
|
||||||
|
}
|
||||||
for (int data = 0; data < 16; ++data) {
|
for (int data = 0; data < 16; ++data) {
|
||||||
final String message = type + "/" + data;
|
final String message = type + "/" + data;
|
||||||
|
|
||||||
@ -76,7 +79,11 @@ public class BlockDataTest {
|
|||||||
// Test monotony and continuity
|
// Test monotony and continuity
|
||||||
for (int type = 0; type < 256; ++type) {
|
for (int type = 0; type < 256; ++type) {
|
||||||
// Cloth isn't monotonous, and thus excluded.
|
// Cloth isn't monotonous, and thus excluded.
|
||||||
if (type == BlockID.CLOTH) continue;
|
if (type == BlockID.CLOTH
|
||||||
|
|| type == BlockID.STAINED_CLAY
|
||||||
|
|| type == BlockID.CARPET) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
for (int data = 0; data < 16; ++data) {
|
for (int data = 0; data < 16; ++data) {
|
||||||
final String message = type + "/" + data;
|
final String message = type + "/" + data;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren