MCPcopy Create free account
hub / github.com/google/uuid / FuzzFromBytes

Function FuzzFromBytes

uuid_test.go:595–607  ·  view source on GitHub ↗
(f *testing.F)

Source from the content-addressed store, hash-verified

593}
594
595func FuzzFromBytes(f *testing.F) {
596 // Copied from TestFromBytes.
597 f.Add([]byte{
598 0x7d, 0x44, 0x48, 0x40,
599 0x9d, 0xc0,
600 0x11, 0xd1,
601 0xb2, 0x45,
602 0x5f, 0xfd, 0xce, 0x74, 0xfa, 0xd2,
603 })
604 f.Fuzz(func(t *testing.T, in []byte) {
605 FromBytes(in)
606 })
607}
608
609// TestValidate checks various scenarios for the Validate function
610func TestValidate(t *testing.T) {

Callers

nothing calls this directly

Calls 1

FromBytesFunction · 0.85

Tested by

no test coverage detected