(data_file_path)
| 289 | |
| 290 | @cross_language_test |
| 291 | def test_murmurhash3(data_file_path): |
| 292 | with open(data_file_path, "rb") as f: |
| 293 | data_bytes = f.read() |
| 294 | buffer = pyfory.Buffer(data_bytes) |
| 295 | h1, h2 = pyfory.lib.mmh3.hash_buffer(bytearray([1, 2, 8]), seed=47) |
| 296 | assert buffer.read_int64() == h1 |
| 297 | assert buffer.read_int64() == h2 |
| 298 | |
| 299 | |
| 300 | @cross_language_test |
nothing calls this directly
no test coverage detected