Don't run Aztec test 1000 times pointlessly

This commit is contained in:
Sean Owen 2019-07-29 14:30:35 -05:00
parent 4d94ac22eb
commit 1cc5cbe961

View file

@ -128,7 +128,6 @@ public final class EncoderTest extends Assert {
@Test
public void testAztecWriter() throws Exception {
for (int i = 0; i < 1000; i++) {
testWriter("\u20AC 1 sample data.", "ISO-8859-1", 25, true, 2);
testWriter("\u20AC 1 sample data.", "ISO-8859-15", 25, true, 2);
testWriter("\u20AC 1 sample data.", "UTF-8", 25, true, 2);
@ -144,7 +143,6 @@ public final class EncoderTest extends Assert {
BitMatrix expectedMatrix = aztec.getMatrix();
assertEquals(matrix, expectedMatrix);
}
}
// synthetic tests (encode-decode round-trip)