github.com/fluhus/gostuff@v0.4.1-0.20240331134726-be71864f2b5d/rhash/rabin32_test.go (about) 1 package rhash 2 3 import ( 4 "hash" 5 "testing" 6 ) 7 8 func TestRabin32(t *testing.T) { 9 test32(t, func(n int) hash.Hash32 { return NewRabinFingerprint32(n) }) 10 }