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

Resize function bug #2

Open
ascii-dev opened this issue Feb 5, 2023 · 0 comments
Open

Resize function bug #2

ascii-dev opened this issue Feb 5, 2023 · 0 comments
Assignees

Comments

@ascii-dev
Copy link
Owner

For some reason, the resize function is raising errors within the following tests:

  • test_insert_item_in_array
  • test_insert_item_in_invalid_index_returns_minus_1

Basically, when the array is constructed with lesser capacity than size + 1 at the time the insert function gets called, it raises an error in the tests.

@ascii-dev ascii-dev self-assigned this Feb 5, 2023
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