Skip to content

Commit

Permalink
Add test to check if hashSet is still filled after iterator-usage
Browse files Browse the repository at this point in the history
  • Loading branch information
LadnerJonas committed Jan 8, 2022
1 parent 9321dd6 commit 4287220
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion W09H01/src/test/pgdp/hashset/TupleHashSetTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ void iteratorFullHashSet() {
}
assertEquals(353, tuplesInHashSet.size());
assertEquals(353, integerIntegerTupleHashSet.insertedTuples());
Arrays.stream(tuples).forEach(integerIntegerTupleHashSet::insert);

tuplesInHashSet = new ArrayList<>();
for (Tuple<Integer, Integer> integerIntegerTuple : integerIntegerTupleHashSet) {
Expand Down

0 comments on commit 4287220

Please sign in to comment.