Commit 328b35de authored by Ethan Ordentlich's avatar Ethan Ordentlich
Browse files

Switch IDequeTests.testAddAll to check the iterator

parent 730392cc
1 merge request!2Small revisions
Pipeline #43182 canceled with stage
Showing with 2 additions and 3 deletions
+2 -3
......@@ -290,8 +290,7 @@ public interface IDequeTests extends ICollectionTests {
coll.add(num);
}
impl.addAll(coll);
for (Object num : coll) {
assertTrue(impl.contains(num), "value should be contained in deque");
}
MatcherAssert.assertThat("IDeque has incorrect elements / order", impl, IsIterableContainingInOrder.contains(coll));
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment