Commit 7b779a3f authored by Adam Blank's avatar Adam Blank
Browse files

Apply suggestion to tests/edu/caltech/cs2/datastructures/CircularArrayFixedSizeQueueTests.java

parent b2c139ec
Pipeline #36413 failed with stage
in 0 seconds
Showing with 1 addition and 1 deletion
+1 -1
......@@ -191,7 +191,7 @@ public class CircularArrayFixedSizeQueueTests implements FixedSizeQueueTests {
reference.add(reference.remove());
assertEquals(reference.peek(), me.peek(),"return values of peek()s are not equal");
assertEquals(reference.size(), me.size(), "size()s are not equal");
assertEquals(queueSize, me.capacity(), "capacity does not match expected value");
assertEquals(queueSize, me.capacity(), "capacity of a fixed size queue should not change");
Iterator<Object> meItr = me.iterator();
Iterator<Object> refItr = reference.iterator();
while (meItr.hasNext()) {
......
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