MCPcopy Create free account
hub / github.com/brimdata/super / FuzzCSUPRoundtripGen

Function FuzzCSUPRoundtripGen

csup/csup_test.go:17–25  ·  view source on GitHub ↗
(f *testing.F)

Source from the content-addressed store, hash-verified

15)
16
17func FuzzCSUPRoundtripGen(f *testing.F) {
18 f.Fuzz(func(t *testing.T, b []byte) {
19 bytesReader := bytes.NewReader(b)
20 context := super.NewContext()
21 types := fuzz.GenTypes(bytesReader, context, 3)
22 values := fuzz.GenValues(bytesReader, context, types)
23 roundtrip(t, values)
24 })
25}
26
27func FuzzCSUPRoundtripBytes(f *testing.F) {
28 f.Fuzz(func(t *testing.T, b []byte) {

Callers

nothing calls this directly

Calls 5

NewContextFunction · 0.92
GenTypesFunction · 0.92
GenValuesFunction · 0.92
roundtripFunction · 0.85
NewReaderMethod · 0.45

Tested by

no test coverage detected