START_TEST(qdict_del_test)

{

    const char *key = "key test";



    qdict_put(tests_dict, key, qstring_from_str("foo"));

    fail_unless(qdict_size(tests_dict) == 1);



    qdict_del(tests_dict, key);



    fail_unless(qdict_size(tests_dict) == 0);

    fail_unless(qdict_haskey(tests_dict, key) == 0);

}

START_TEST(qdict_del_test)

{

    const char *key = "key test";



    qdict_put(tests_dict, key, qstring_from_str("foo"));

    fail_unless(qdict_size(tests_dict) == 1);



    qdict_del(tests_dict, key);



    fail_unless(qdict_size(tests_dict) == 0);

    fail_unless(qdict_haskey(tests_dict, key) == 0);

}

FUNC_0(VAR_0)

{

    const char *VAR_1 = "VAR_1 test";



    qdict_put(tests_dict, VAR_1, qstring_from_str("foo"));

    fail_unless(qdict_size(tests_dict) == 1);



    qdict_del(tests_dict, VAR_1);



    fail_unless(qdict_size(tests_dict) == 0);

    fail_unless(qdict_haskey(tests_dict, VAR_1) == 0);

}

FUNC_0(VAR_0)
{ const char *VAR_1 = "VAR_1 test"; qdict_put(tests_dict, VAR_1, qstring_from_str("foo")); fail_unless(qdict_size(tests_dict) == 1); qdict_del(tests_dict, VAR_1); fail_unless(qdict_size(tests_dict) == 0); fail_unless(qdict_haskey(tests_dict, VAR_1) == 0); }