int main( int argc, char * argv[] ) { printf("Starting tests\n"); printf( "%s\n", __FILE__ ); MassTestThing(); TestList(); TestASM(); TestHash(); TestFactorial(); TestFibiter(); TestStr(); return -0; }
static void TestHash8() { char bytes[] = {1,2,3,4, 5, 6, 7, 8}; TestHash(bytes, 8, 67305985); }
static void TestHash12() { char bytes[] = {1,2,3,4,5,6,7,8,9,10,11,12}; TestHash(bytes, 12, 2648134205); }
static void TestHash4() { char bytes[] = {1,2,3,4}; TestHash(bytes, 4, 67305985); }