Lines Matching refs:ids2
12 struct hashmap *ids1, *ids2; in test_ids_union() local
17 ids2 = ids__new(); in test_ids_union()
18 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union()
20 ids1 = ids__union(ids1, ids2); in test_ids_union()
24 ids2 = ids__new(); in test_ids_union()
25 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union()
30 ids1 = ids__union(ids1, ids2); in test_ids_union()
34 ids2 = ids__new(); in test_ids_union()
35 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union()
36 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("foo")), 0); in test_ids_union()
38 ids1 = ids__union(ids1, ids2); in test_ids_union()
42 ids2 = ids__new(); in test_ids_union()
43 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union()
44 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("bar")), 0); in test_ids_union()
45 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("baz")), 0); in test_ids_union()
47 ids1 = ids__union(ids1, ids2); in test_ids_union()