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

Implement native fuzzing in Go #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

hanzei
Copy link

@hanzei hanzei commented Jul 1, 2024

Fixes #27

@agnivade
Copy link
Owner

agnivade commented Jul 1, 2024

Oh didn't expect you to be here! Is this ready for review?

@hanzei hanzei marked this pull request as ready for review September 16, 2024 13:36
@hanzei
Copy link
Author

hanzei commented Sep 16, 2024

Yeah, this is my first look into Fuzzing in Go. Please let me know what you think.

Comment on lines +139 to +144
if n < 0 {
t.Errorf("Distance can not be negative: %d, a: %q, b: %q", n, a, b)
}
if n > len(a)+len(b) {
t.Errorf("Distance can not be greater than sum of lengths of a and b: %d, a: %q, b: %q", n, a, b)
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping to check more properties, but I could only come up with this list. Is there more to check?

@agnivade
Copy link
Owner

Thanks! I will look at this some time.

@hanzei
Copy link
Author

hanzei commented Sep 17, 2024

I'm not in a hurry 😉

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.

Remove fuzz-fuzz.zip from source code
2 participants