char *test_djb(void) { uint32_t hash = Hashmap_djb_hash(&test1); mu_assert(hash != 0, "Bad hash."); hash = Hashmap_djb_hash(&test2); mu_assert(hash != 0, "Bad hash."); hash = Hashmap_djb_hash(&test3); mu_assert(hash != 0, "Bad hash."); return NULL; }
char *test_djb() { uint32_t hash = Hashmap_djb_hash(&test1); assert(hash != 0 && "Bad hash."); hash = Hashmap_djb_hash(&test2); assert(hash != 0 && "Bad hash."); hash = Hashmap_djb_hash(&test3); assert(hash != 0 && "Bad hash."); return NULL; }