20 #include <CUnit/CUnit.h> 25 CU_ASSERT_NOT_EQUAL(hash(
""), hash(
"t"));
26 CU_ASSERT_NOT_EQUAL(hash(
"t"), hash(
"test"));
27 CU_ASSERT_NOT_EQUAL(hash(
"test"), hash(
"test1"));
31 CU_ASSERT_EQUAL(hash(
"a\0b"), hash(
"a"));
34 CU_TestInfo hash_testcases[] = {
35 {
"Testing extracting Hash test1:", test_hash1},
36 {
"Testing extracting Hash test2:", test_hash2},