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

Refactor tests #51

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

AleLudovici
Copy link

This PR adds

The aim of this PR is to improve the readability of the unit tests and to add missing assertion to test expectations.

Considerations and implementation

Readability has been improved by splitting tests into separate classes and files and also by avoiding the use of nested classes.
DRY principle applied by using of generics and extensions.

Testing

Create a new value type to for async expectation and assertions.
Test that Insertions and deletions are happening at the expected indexes.

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

Successfully merging this pull request may close these issues.

1 participant