WIP: integrate test cases from the hashsplit org test suite. #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch:
It doesn't work, and this should not be merged as-is. But, either we should fix it, or fix the spec, or at least not claim within the README that this is an implementation of what's in the spec.
I suspect the buzhash32 from the library you're using isn't exactly what we specified as cp32. The easiest path may be to just implement it directly.
Note also that the test configs have a maxSize field, which doesn't seem to have an analogue in this library.