Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: multikey_object proptests #32

Merged
merged 8 commits into from
Nov 16, 2024
Merged

refactor: multikey_object proptests #32

merged 8 commits into from
Nov 16, 2024

Conversation

TinyTinni
Copy link
Owner

@TinyTinni TinyTinni commented Nov 16, 2024

multikey_object types were ignored in proptests so far. The coverage of wchar_t is also not that great.

This PR refactors the code, so that every test can be run against every object and char type (vdf::object, vdf::multikey_object, char, wchar_t) without rewriting/copying it.

The rapidcheck max_successes can be reduced as the coverage increases with tests being run which tests already the similar property (4x1k tests run with 10k tests before).

@TinyTinni TinyTinni force-pushed the multikey-proptests branch 4 times, most recently from 6691737 to 43e11d6 Compare November 16, 2024 13:55
@TinyTinni TinyTinni merged commit 97a021c into master Nov 16, 2024
3 checks passed
@TinyTinni TinyTinni deleted the multikey-proptests branch November 16, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant