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
95ab28ab
Commit
95ab28ab
authored
4 years ago
by
Archie Shahidullah
Browse files
Options
Download
Email Patches
Plain Diff
Update CollectionTests.java
parent
f8d205c8
1 merge request
!1
Review Tests for Project 3
Pipeline
#36408
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/edu/caltech/cs2/datastructures/CollectionTests.java
+1
-1
tests/edu/caltech/cs2/datastructures/CollectionTests.java
with
1 addition
and
1 deletion
+1
-1
tests/edu/caltech/cs2/datastructures/CollectionTests.java
View file @
95ab28ab
...
...
@@ -74,7 +74,7 @@ public interface CollectionTests {
ICollection
<
Object
>
impl
=
newCollection
();
for
(
int
i
=
0
;
i
<
10
;
i
++)
{
impl
.
add
(
"a"
);
assertEquals
(
impl
.
size
(),
1
,
"collection should have 1 element"
);
assertEquals
(
1
,
impl
.
size
(),
"collection should have 1 element"
);
impl
.
clear
();
assertTrue
(
impl
.
isEmpty
());
}
...
...
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