usethesource / capsule

The Capsule Hash Trie Collections Library
BSD 2-Clause "Simplified" License
404 stars 27 forks source link

Increase test coverage by using `CollidableInteger` type and refactor tests for maintainability #28

Closed msteindorfer closed 2 years ago

msteindorfer commented 2 years ago

The PR covers:

  1. increasing test coverage by using CollidableInteger type
  2. refactoring tests for better maintainability (renaming variables, code motion, deleting obsolete code)

The CollidableInteger type renames and extracts the PureSeparateHashCodeInteger class and is not used more pervasively (i.e., to improve coverage of hash collision tests).

Known Issue

When running mvn test it appears that the JUnit Quickcheck test suites are not executed (to be confirmed).