-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use composite strategy in trie.tools.strategies
This is a cleanup for the backfill tests, using the shared strategy to try to expand the surface area of the hypothesis tests. Note: - The trie_from_keys() builder with a minimum_value_length=0 would try to "insert" at key b'' the value b'', which is of course a delete. So the smallest permissable size must be a byte length of 1. - An empty trie is not handled well by these backfill tests, but backfill is entirely uninteresting for an empty trie, so we can ignore the case.
- Loading branch information
Showing
2 changed files
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters