var golden … // checksum is a slow but simple implementation of the Adler-32 checksum. // It is a straight port of the sample code in RFC 1950 section 9. func checksum(p []byte) uint32 { … } func TestGolden(t *testing.T) { … } func TestGoldenMarshal(t *testing.T) { … } func BenchmarkAdler32KB(b *testing.B) { … }