Skip to content

Commit 060f613

Browse files
committed
Adds unit tests.
1 parent 9d1169d commit 060f613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/org/javimmutable/collections/list/JImmutableArrayListTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ public void testRandom()
418418
assertEquals(expected.size(), list.size());
419419
}
420420
assertEquals(expected, list.getList());
421+
assertEquals(list, expected.parallelStream().collect(JImmutableArrayList.collector()));
421422
list.checkInvariants();
422423

423424
Cursor<Integer> cursor = list.cursor().next();

0 commit comments

Comments
 (0)