#include "tests.h" #include "../src/HashFunctions/hash.h" #include "../src/Autoarr/Autoarr.h" #define SPEED_TESTS 100000 #define COLLISION_TESTS 16000 char data[]="iojihiojopijiugbjmoihftytryfdrh"; #define test_hashfunc(hasht, hashf)({\ printf("\e[94mfunction: \e[92m" #hashf "\n");\ hasht h=0;\ optime("speed test", 1, ({\ for(uint32 i=0; i