Fixed murmur hash function signature and removed seed_high_bits test as it's no longer relevant
Run tests / Run tests (push) Failing after 9s

This commit is contained in:
2026-05-03 23:09:07 +03:00
parent a0f16f8ca0
commit 8b6c7ec42a
3 changed files with 2 additions and 25 deletions
-1
View File
@@ -1,5 +1,4 @@
tests = [
'seed_high_bits',
]
foreach t : tests
-22
View File
@@ -1,22 +0,0 @@
#define EV_HASH_IMPLEMENTATION
#include "ev_macros.h"
#include "ev_hash.h"
#include <assert.h>
#include <string.h>
int main(void)
{
const char *data = "same input";
u64 low_seed = 1;
u64 high_seed = (1ull << 32) | 1ull;
u64 low_hash = ev_hash_murmur3(data, (u32)strlen(data), low_seed);
u64 high_hash = ev_hash_murmur3(data, (u32)strlen(data), high_seed);
assert(low_seed != high_seed);
assert(low_hash != high_hash);
return 0;
}