Lines Matching refs:set2
126 Set2 set2; in DEF_TEST() local
128 set2.insert("ape"); in DEF_TEST()
129 set2.insert(char1); in DEF_TEST()
130 set2.insert(char2); in DEF_TEST()
131 set2.insert(char3); in DEF_TEST()
132 set2.insert("ant"); in DEF_TEST()
133 set2.insert("cat"); in DEF_TEST()
135 REPORTER_ASSERT(reporter, set2.count() == 4); in DEF_TEST()
136 REPORTER_ASSERT(reporter, set2.find("dog") == set2.last()); in DEF_TEST()
137 REPORTER_ASSERT(reporter, set2.find("cat") != set2.end()); in DEF_TEST()
138 REPORTER_ASSERT(reporter, set2.find("ant") == set2.begin()); in DEF_TEST()
139 REPORTER_ASSERT(reporter, set2.find("bug") == set2.end()); in DEF_TEST()
141 set2.remove(set2.find("ant")); in DEF_TEST()
142 REPORTER_ASSERT(reporter, set2.find("ant") == set2.end()); in DEF_TEST()
143 REPORTER_ASSERT(reporter, set2.count() == 3); in DEF_TEST()
145 set2.reset(); in DEF_TEST()
146 REPORTER_ASSERT(reporter, set2.empty()); in DEF_TEST()