func TestCorruptedInputs(t *testing.T) { … } func TestParseCanned(t *testing.T) { … } // checkTrace walks over a good trace and makes a bunch of additional checks // that may not cause the parser to outright fail. func checkTrace(t *testing.T, ver int, res Trace) { … } func TestBuckets(t *testing.T) { … }