Last active
March 28, 2022 17:25
-
-
Save percybolmer/81217d614c304e7620f1afbdf2c0f399 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
func MultipleInputs(a, b int, name string) { | |
// ... fancy code goes here | |
} | |
func FuzzMultipleInputs(f *testing.F) { | |
// We can add Multiple Seeds, but it has to be the same order as the input parameters for MultipleInputs | |
f.Add(10,20,"John the Ripper") | |
f.Fuzz(func(t *testing.T,a int,b int,name string){ | |
MultipleInputs(a,b,name) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @percybolmer, thank you very much for the detailed explanation! Not it is all clear for me!