mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-31 04:38:23 +00:00
11 lines
241 B
Python
11 lines
241 B
Python
![]() |
import pytest
|
||
|
|
||
|
from haystack.mmh3 import hash128
|
||
|
|
||
|
|
||
|
@pytest.mark.unit
|
||
|
def test_mmh3():
|
||
|
content = "This is the document text" * 100
|
||
|
hashed_content = hash128(content)
|
||
|
assert hashed_content == 305042678480070366459393623793278501577
|