Skip to content

Improve tests#33

Open
psadac wants to merge 8 commits intoagnivade:masterfrom
psadac:improve-tests
Open

Improve tests#33
psadac wants to merge 8 commits intoagnivade:masterfrom
psadac:improve-tests

Conversation

@psadac
Copy link
Contributor

@psadac psadac commented May 21, 2025

I had already worked on the tests, fuzzing and benchmarks some months ago, but didn't push the changes.
A lot of changes were made to add tests on long strings and to avoid duplicating test cases.

psadac added 8 commits May 21, 2025 11:39
- add groups for future use
- compare results to other implementations
- use test cases as seeds
- add random seeds
- compare results to other implementations
- compare results to Hamming distance
- benchmarks use test cases by group
- split benchmarks for others levenshtein implementations
new targets:
- benchAll compares performance of all levenshtein distance implementations
- cover runs the tests and opens a web browser displaying annotated source code
- fuzz runs all fuzzing functions
- perf compares performance using benchstat between the last commit and uncommitted code
@agnivade
Copy link
Owner

Thanks a lot Paul for this! Please allow me to find some time to review the code.

@agnivade
Copy link
Owner

agnivade commented Mar 3, 2026

Dear me, my apologies @psadac , this totally dropped from my radar!

Are you still available to merge the PR if I begin a review?

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.

2 participants