Dwifft
Dwifft copied to clipboard
Refactor tests
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.