4 static int test_isds_hash_free(
5 struct isds_hash
**hash
) {
10 FAIL_TEST("isds_hash_free() did not null pointer");
16 int main(int argc
, char **argv
) {
18 INIT_TEST("isds_hash_free()");
20 ABORT_UNIT("isds_init() failed");
22 struct isds_hash
*hash
= NULL
;
23 TEST("NULL", test_isds_hash_free
, NULL
);
24 TEST("*NULL", test_isds_hash_free
, &hash
);
27 TEST("Empty structure", test_isds_hash_free
, &hash
);
30 TEST_FILL_STRING(hash
->value
);
31 TEST("Full structure", test_isds_hash_free
, &hash
);