Dwifft icon indicating copy to clipboard operation
Dwifft copied to clipboard

Refactor tests

Open AleLudovici opened this issue 9 years ago • 0 comments

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.

AleLudovici avatar Apr 06 '17 16:04 AleLudovici