(t *testing.T)
| 57 | } |
| 58 | |
| 59 | func TestFnvHash32(t *testing.T) { |
| 60 | t.Run("test hash32", func(t *testing.T) { |
| 61 | bytes := []byte("test-fnv-hash32") |
| 62 | hash_result, err := utils.GetFnv32(bytes) |
| 63 | assert.NoError(t, err) |
| 64 | assert.Equal(t, uint32(1486366400), hash_result) |
| 65 | }) |
| 66 | } |