Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs2-20wi
project03
Commits
7b779a3f
Commit
7b779a3f
authored
4 years ago
by
Adam Blank
Browse files
Options
Download
Email Patches
Plain Diff
Apply suggestion to tests/edu/caltech/cs2/datastructures/CircularArrayFixedSizeQueueTests.java
parent
b2c139ec
Pipeline
#36413
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/edu/caltech/cs2/datastructures/CircularArrayFixedSizeQueueTests.java
+1
-1
.../cs2/datastructures/CircularArrayFixedSizeQueueTests.java
with
1 addition
and
1 deletion
+1
-1
tests/edu/caltech/cs2/datastructures/CircularArrayFixedSizeQueueTests.java
View file @
7b779a3f
...
...
@@ -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 valu
e"
);
assertEquals
(
queueSize
,
me
.
capacity
(),
"capacity
of a fixed size queue should not chang
e"
);
Iterator
<
Object
>
meItr
=
me
.
iterator
();
Iterator
<
Object
>
refItr
=
reference
.
iterator
();
while
(
meItr
.
hasNext
())
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help