1
0
mirror of https://github.com/golang/go synced 2024-11-15 03:00:36 -07:00
go/src/hash/maphash
Keith Randall bef0b4ea8f hash/maphash: add more tests for seed generation
Test all the paths by which a Hash picks its seed.
Make sure they all behave identically to a preset seed.

Change-Id: I2f7950857697f2f07226b96655574c36931b2aae
Reviewed-on: https://go-review.googlesource.com/c/go/+/220686
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Vladimir Evgrafov <evgrafov.vladimir@gmail.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2020-03-02 17:15:20 +00:00
..
example_test.go hash/maphash: add package-level example 2020-02-24 01:59:55 +00:00
maphash_test.go hash/maphash: add more tests for seed generation 2020-03-02 17:15:20 +00:00
maphash.go hash/maphash: don't discard data on random seed init 2020-02-22 15:25:30 +00:00
smhasher_test.go