Fix some maven tests

This commit is contained in:
wizjany 2013-07-02 08:01:01 -04:00
parent e649987015
commit cba246a2a5

View File

@ -34,6 +34,9 @@ public class BlockDataTest {
@Test
public void testRotateFlip() {
for (int type = 0; type < 256; ++type) {
if (type == BlockID.HAY_BLOCK) {
continue; // not monotonous
}
for (int data = 0; data < 16; ++data) {
final String message = type + "/" + data;
@ -76,7 +79,11 @@ public class BlockDataTest {
// Test monotony and continuity
for (int type = 0; type < 256; ++type) {
// 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) {
final String message = type + "/" + data;