mirror of
https://github.com/vitali-fedulov/hyper.git
synced 2025-05-31 11:52:23 +00:00
update
This commit is contained in:
parent
b3659f6a64
commit
a4e3ee6a57
@ -14,13 +14,13 @@ func TestFnva64(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestHashSet(t *testing.T) {
|
func TestHashes64(t *testing.T) {
|
||||||
tree := [][]int{
|
tree := [][]int{
|
||||||
{0, 0, 7, 3, 0, 0, 9},
|
{0, 0, 7, 3, 0, 0, 9},
|
||||||
{1, 0, 7, 3, 0, 0, 9},
|
{1, 0, 7, 3, 0, 0, 9},
|
||||||
{0, 0, 8, 3, 0, 0, 9},
|
{0, 0, 8, 3, 0, 0, 9},
|
||||||
{1, 0, 8, 3, 0, 0, 9}}
|
{1, 0, 8, 3, 0, 0, 9}}
|
||||||
hs := HashSet(tree, Fnva64)
|
hs := Hashes64(tree, Fnva64)
|
||||||
want := []uint64{
|
want := []uint64{
|
||||||
14647827280143437043,
|
14647827280143437043,
|
||||||
17530493565529410009,
|
17530493565529410009,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user