10 #include <CUnit/CUnit.h>
15 CU_ASSERT_NOT_EQUAL(hash(
""), hash(
"t"));
16 CU_ASSERT_NOT_EQUAL(hash(
"t"), hash(
"test"));
17 CU_ASSERT_NOT_EQUAL(hash(
"test"), hash(
"test1"));
21 CU_ASSERT_EQUAL(hash(
"a\0b"), hash(
"a"));
24 CU_TestInfo hash_testcases[] = {
25 {
"Testing extracting Hash test1:", test_hash1},
26 {
"Testing extracting Hash test2:", test_hash2},