func BenchmarkXxhash64MultiWrites(b *testing.B) { h := N.New64() for i := 0; i < b.N; i++ { h.Write(in) } _ = h.Sum64() }
func TestHash64(t *testing.T) { h := N.New64() h.Write(in) r := h.Sum64() if r != expected64 { t.Errorf("expected 0x%x, got 0x%x.", expected64, r) } }