func TestUnmarshalMarshal(t *testing.T) { … } // BenchmarkMarshalCorpusFile measures the time it takes to serialize byte // slices of various sizes to a corpus file. The slice contains a repeating // sequence of bytes 0-255 to mix escaped and non-escaped characters. func BenchmarkMarshalCorpusFile(b *testing.B) { … } // BenchmarkUnmarshalCorpusfile measures the time it takes to deserialize // files encoding byte slices of various sizes. The slice contains a repeating // sequence of bytes 0-255 to mix escaped and non-escaped characters. func BenchmarkUnmarshalCorpusFile(b *testing.B) { … } func TestByteRoundTrip(t *testing.T) { … } func TestInt8RoundTrip(t *testing.T) { … } func FuzzFloat64RoundTrip(f *testing.F) { … } func FuzzRuneRoundTrip(f *testing.F) { … } func FuzzStringRoundTrip(f *testing.F) { … }