Fix some maven tests

Dieser Commit ist enthalten in:
wizjany 2013-07-02 08:01:01 -04:00
Ursprung e649987015
Commit cba246a2a5

Datei anzeigen

@ -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;