Lines Matching refs:ids1
15 struct hashmap *ids1, *ids2; in test_ids_union() local
18 ids1 = ids__new(); in test_ids_union()
19 TEST_ASSERT_VAL("ids__new", ids1); in test_ids_union()
23 ids1 = ids__union(ids1, ids2); in test_ids_union()
24 TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 0); in test_ids_union()
30 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids1, strdup("foo")), 0); in test_ids_union()
31 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids1, strdup("bar")), 0); in test_ids_union()
33 ids1 = ids__union(ids1, ids2); in test_ids_union()
34 TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 2); in test_ids_union()
41 ids1 = ids__union(ids1, ids2); in test_ids_union()
42 TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 2); in test_ids_union()
50 ids1 = ids__union(ids1, ids2); in test_ids_union()
51 TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 3); in test_ids_union()
53 ids__free(ids1); in test_ids_union()