diff --git a/rand/password_test.go b/rand/password_test.go index bc1bf9c..7d81f6b 100644 --- a/rand/password_test.go +++ b/rand/password_test.go @@ -12,3 +12,11 @@ func TestRand_GetPassword(t *testing.T) { fmt.Println(randTool.GetPassword()) } + +func FuzzRand_GetPassword(f *testing.F) { + f.Fuzz(func(t *testing.T, a int) { + fmt.Println(a) + fmt.Println(randTool.GetPassword(a)) + }) + +}