test: removed prints from tests

This commit is contained in:
Yannik Bretschneider 2021-05-13 16:11:02 +02:00
parent 2bfa17bef7
commit 3929bde062

View File

@ -39,7 +39,7 @@ class IntVector2DeserializerTest {
@Test @Test
void randomTests() throws JsonProcessingException { void randomTests() throws JsonProcessingException {
Iterator<Integer> randomIntegers = ThreadLocalRandom.current().ints().iterator(); Iterator<Integer> randomIntegers = ThreadLocalRandom.current().ints().iterator();
int repetitions = 50; int repetitions = 100;
for (int i = 0; i < repetitions; i++) { for (int i = 0; i < repetitions; i++) {
int x = randomIntegers.next(); int x = randomIntegers.next();
int y = randomIntegers.next(); int y = randomIntegers.next();
@ -47,7 +47,7 @@ class IntVector2DeserializerTest {
String jsonDescribingTarget = "[" + x + ", " + y + "]"; String jsonDescribingTarget = "[" + x + ", " + y + "]";
assertThat(mapper.readValue(jsonDescribingTarget, IntVector2.class)) assertThat(mapper.readValue(jsonDescribingTarget, IntVector2.class))
.isEqualTo(target); .isEqualTo(target);
System.out.println(jsonDescribingTarget); // System.out.println(jsonDescribingTarget);
} }
} }
} }