seahag/test/fnv1a_hash_str.c

12 lines
203 B
C
Raw Normal View History

2023-08-13 22:57:15 -04:00
#include "haggis_private.h"
#include <assert.h>
#include <stdint.h>
int main() {
uint64_t ret;
char *key = "haggis";
ret = hash_str_fnv1a_64(key);
assert(ret == 4320822873175422592);
}