Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add branch coverage for List.shrink to tests branch. #61

Closed
akerfel opened this issue Feb 24, 2022 · 0 comments
Closed

Add branch coverage for List.shrink to tests branch. #61

akerfel opened this issue Feb 24, 2022 · 0 comments

Comments

@akerfel
Copy link

akerfel commented Feb 24, 2022

Test that the private function shrink() in the ArrayList implementation
in the file List.java works correctly.

Requirement: If the size attribute becomes smaller than half the size of the underlying array, then the shrink() function should be called, which should decrease the size of said array.

akerfel added a commit that referenced this issue Feb 24, 2022
Tests that the private function shrink() in the ArrayList implementation
in the file List.java works correctly.
Requirement: If the size attribute becomes smaller than half the size of the underlying array,
then the shrink() function should be called, which should decrease the size of said array.
@akerfel akerfel closed this as completed Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant