Lines Matching refs:CPPUNIT_ASSERT
59 CPPUNIT_ASSERT (s.count(42) == 0); in set1()
61 CPPUNIT_ASSERT (s.count(42) == 1); in set1()
63 CPPUNIT_ASSERT (s.count(42) == 1); in set1()
65 CPPUNIT_ASSERT (count == 1); in set1()
73 CPPUNIT_ASSERT (p.second == true); in set2()
75 CPPUNIT_ASSERT (p.second == false); in set2()
79 CPPUNIT_ASSERT (distance(s.begin(), s.end()) == 5); in set2()
83 CPPUNIT_ASSERT (distance(s2.begin(), s2.end()) == 5); in set2()
84 CPPUNIT_ASSERT (distance(s.begin(), s.end()) == 0); in set2()
89 CPPUNIT_ASSERT (distance(s.begin(), s.end()) == 0); in set2()
90 CPPUNIT_ASSERT (distance(s2.begin(), s2.end()) == 0); in set2()
91 CPPUNIT_ASSERT (distance(s3.begin(), s3.end()) == 5); in set2()
99 CPPUNIT_ASSERT( s.empty() ); in erase()
102 CPPUNIT_ASSERT(nb == 0); in erase()
109 CPPUNIT_ASSERT( *i == 0 ); in insert()
116 CPPUNIT_ASSERT( s.find(0) == s.end() ); in find()
120 CPPUNIT_ASSERT( crs.find(0) == crs.end() ); in find()
136 CPPUNIT_ASSERT( sit != s.end() ); in bounds()
137 CPPUNIT_ASSERT( *sit == 3 ); in bounds()
140 CPPUNIT_ASSERT( sit != s.end() ); in bounds()
141 CPPUNIT_ASSERT( *sit == 6 ); in bounds()
144 CPPUNIT_ASSERT( pit.first != pit.second ); in bounds()
145 CPPUNIT_ASSERT( pit.first != s.end() ); in bounds()
146 CPPUNIT_ASSERT( *pit.first == 6 ); in bounds()
147 CPPUNIT_ASSERT( pit.second != s.end() ); in bounds()
148 CPPUNIT_ASSERT( *pit.second == 7 ); in bounds()
151 CPPUNIT_ASSERT( pit.first == pit.second ); in bounds()
152 CPPUNIT_ASSERT( pit.first != s.end() ); in bounds()
153 CPPUNIT_ASSERT( *pit.first == 6 ); in bounds()
154 CPPUNIT_ASSERT( pit.second != s.end() ); in bounds()
155 CPPUNIT_ASSERT( *pit.second == 6 ); in bounds()
159 CPPUNIT_ASSERT( scit != s.end() ); in bounds()
160 CPPUNIT_ASSERT( *scit == 3 ); in bounds()
163 CPPUNIT_ASSERT( scit != s.end() ); in bounds()
164 CPPUNIT_ASSERT( *scit == 6 ); in bounds()
168 CPPUNIT_ASSERT( pcit.first != pcit.second ); in bounds()
169 CPPUNIT_ASSERT( pcit.first != s.end() ); in bounds()
170 CPPUNIT_ASSERT( *pcit.first == 6 ); in bounds()
171 CPPUNIT_ASSERT( pcit.second != s.end() ); in bounds()
172 CPPUNIT_ASSERT( *pcit.second == 7 ); in bounds()
177 CPPUNIT_ASSERT( scit != crs.end() ); in bounds()
178 CPPUNIT_ASSERT( *scit == 3 ); in bounds()
181 CPPUNIT_ASSERT( scit != crs.end() ); in bounds()
182 CPPUNIT_ASSERT( *scit == 6 ); in bounds()
185 CPPUNIT_ASSERT( pcit.first != pcit.second ); in bounds()
186 CPPUNIT_ASSERT( pcit.first != crs.end() ); in bounds()
187 CPPUNIT_ASSERT( *pcit.first == 6 ); in bounds()
188 CPPUNIT_ASSERT( pcit.second != crs.end() ); in bounds()
189 CPPUNIT_ASSERT( *pcit.second == 7 ); in bounds()
234 CPPUNIT_ASSERT( sit->data() == i ); in specialized_less()
244 CPPUNIT_ASSERT( int_ref == 1 ); in implementation_check()
246 CPPUNIT_ASSERT( it == tree.end() ); in implementation_check()
247 CPPUNIT_ASSERT( it != tree.begin() ); in implementation_check()
251 CPPUNIT_ASSERT( int_cref == 1 ); in implementation_check()
262 CPPUNIT_ASSERT( *(rit++) == 2 ); in reverse_iterator_test()
263 CPPUNIT_ASSERT( *(rit++) == 1 ); in reverse_iterator_test()
264 CPPUNIT_ASSERT( rit == tree.rend() ); in reverse_iterator_test()
270 CPPUNIT_ASSERT( *(rit++) == 2 ); in reverse_iterator_test()
271 CPPUNIT_ASSERT( *(rit++) == 1 ); in reverse_iterator_test()
272 CPPUNIT_ASSERT( rit == ctree.rend() ); in reverse_iterator_test()
301 CPPUNIT_ASSERT( sint1.get_allocator().swaped() ); in allocator_with_state()
302 CPPUNIT_ASSERT( sint2.get_allocator().swaped() ); in allocator_with_state()
304 CPPUNIT_ASSERT( sint1 == sint2Cpy ); in allocator_with_state()
305 CPPUNIT_ASSERT( sint2 == sint1Cpy ); in allocator_with_state()
306 CPPUNIT_ASSERT( sint1.get_allocator() == stack2 ); in allocator_with_state()
307 CPPUNIT_ASSERT( sint2.get_allocator() == stack1 ); in allocator_with_state()
309 CPPUNIT_ASSERT( stack1.ok() ); in allocator_with_state()
310 CPPUNIT_ASSERT( stack2.ok() ); in allocator_with_state()
324 CPPUNIT_ASSERT( sint1.get_allocator().swaped() ); in allocator_with_state()
325 CPPUNIT_ASSERT( sint2.get_allocator().swaped() ); in allocator_with_state()
327 CPPUNIT_ASSERT( sint1 == sint2Cpy ); in allocator_with_state()
328 CPPUNIT_ASSERT( sint2 == sint1Cpy ); in allocator_with_state()
329 CPPUNIT_ASSERT( sint1.get_allocator() == stack2 ); in allocator_with_state()
330 CPPUNIT_ASSERT( sint2.get_allocator() == stack1 ); in allocator_with_state()
332 CPPUNIT_ASSERT( stack1.ok() ); in allocator_with_state()
333 CPPUNIT_ASSERT( stack2.ok() ); in allocator_with_state()
347 CPPUNIT_ASSERT( sint1.get_allocator().swaped() ); in allocator_with_state()
348 CPPUNIT_ASSERT( sint2.get_allocator().swaped() ); in allocator_with_state()
350 CPPUNIT_ASSERT( sint1 == sint2Cpy ); in allocator_with_state()
351 CPPUNIT_ASSERT( sint2 == sint1Cpy ); in allocator_with_state()
352 CPPUNIT_ASSERT( sint1.get_allocator() == stack2 ); in allocator_with_state()
353 CPPUNIT_ASSERT( sint2.get_allocator() == stack1 ); in allocator_with_state()
355 CPPUNIT_ASSERT( stack1.ok() ); in allocator_with_state()
356 CPPUNIT_ASSERT( stack2.ok() ); in allocator_with_state()
403 CPPUNIT_ASSERT( keySet.count(Key(1)) == 1 ); in template_methods()
404 CPPUNIT_ASSERT( keySet.count(1) == 1 ); in template_methods()
405 CPPUNIT_ASSERT( keySet.count(5) == 0 ); in template_methods()
407 CPPUNIT_ASSERT( keySet.find(2) != keySet.end() ); in template_methods()
408 CPPUNIT_ASSERT( keySet.lower_bound(2) != keySet.end() ); in template_methods()
409 CPPUNIT_ASSERT( keySet.upper_bound(2) != keySet.end() ); in template_methods()
410 CPPUNIT_ASSERT( keySet.equal_range(2) != make_pair(keySet.begin(), keySet.end()) ); in template_methods()
413 CPPUNIT_ASSERT( ckeySet.find(2) != ckeySet.end() ); in template_methods()
414 CPPUNIT_ASSERT( ckeySet.lower_bound(2) != ckeySet.end() ); in template_methods()
415 CPPUNIT_ASSERT( ckeySet.upper_bound(2) != ckeySet.end() ); in template_methods()
416 CPPUNIT_ASSERT( ckeySet.equal_range(2) != make_pair(ckeySet.begin(), ckeySet.end()) ); in template_methods()
428 CPPUNIT_ASSERT( keySet.count(1) == 1 ); in template_methods()
429 CPPUNIT_ASSERT( keySet.count(5) == 0 ); in template_methods()
431 CPPUNIT_ASSERT( keySet.find(2) != keySet.end() ); in template_methods()
432 CPPUNIT_ASSERT( keySet.lower_bound(2) != keySet.end() ); in template_methods()
433 CPPUNIT_ASSERT( keySet.upper_bound(2) != keySet.end() ); in template_methods()
434 CPPUNIT_ASSERT( keySet.equal_range(2) != make_pair(keySet.begin(), keySet.end()) ); in template_methods()
437 CPPUNIT_ASSERT( ckeySet.find(2) != ckeySet.end() ); in template_methods()
438 CPPUNIT_ASSERT( ckeySet.lower_bound(2) != ckeySet.end() ); in template_methods()
439 CPPUNIT_ASSERT( ckeySet.upper_bound(2) != ckeySet.end() ); in template_methods()
440 CPPUNIT_ASSERT( ckeySet.equal_range(2) != make_pair(ckeySet.begin(), ckeySet.end()) ); in template_methods()
450 CPPUNIT_ASSERT( keySet.count(Key(1)) == 1 ); in template_methods()
451 CPPUNIT_ASSERT( keySet.count(1) == 1 ); in template_methods()
452 CPPUNIT_ASSERT( keySet.count(5) == 0 ); in template_methods()
454 CPPUNIT_ASSERT( keySet.find(2) != keySet.end() ); in template_methods()
455 CPPUNIT_ASSERT( keySet.lower_bound(2) != keySet.end() ); in template_methods()
456 CPPUNIT_ASSERT( keySet.upper_bound(2) != keySet.end() ); in template_methods()
457 CPPUNIT_ASSERT( keySet.equal_range(2) != make_pair(keySet.begin(), keySet.end()) ); in template_methods()
460 CPPUNIT_ASSERT( ckeySet.find(2) != ckeySet.end() ); in template_methods()
461 CPPUNIT_ASSERT( ckeySet.lower_bound(2) != ckeySet.end() ); in template_methods()
462 CPPUNIT_ASSERT( ckeySet.upper_bound(2) != ckeySet.end() ); in template_methods()
463 CPPUNIT_ASSERT( ckeySet.equal_range(2) != make_pair(ckeySet.begin(), ckeySet.end()) ); in template_methods()
475 CPPUNIT_ASSERT( keySet.count(1) == 1 ); in template_methods()
476 CPPUNIT_ASSERT( keySet.count(5) == 0 ); in template_methods()
478 CPPUNIT_ASSERT( keySet.find(2) != keySet.end() ); in template_methods()
479 CPPUNIT_ASSERT( keySet.lower_bound(2) != keySet.end() ); in template_methods()
480 CPPUNIT_ASSERT( keySet.upper_bound(2) != keySet.end() ); in template_methods()
481 CPPUNIT_ASSERT( keySet.equal_range(2) != make_pair(keySet.begin(), keySet.end()) ); in template_methods()
484 CPPUNIT_ASSERT( ckeySet.find(2) != ckeySet.end() ); in template_methods()
485 CPPUNIT_ASSERT( ckeySet.lower_bound(2) != ckeySet.end() ); in template_methods()
486 CPPUNIT_ASSERT( ckeySet.upper_bound(2) != ckeySet.end() ); in template_methods()
487 CPPUNIT_ASSERT( ckeySet.equal_range(2) != make_pair(ckeySet.begin(), ckeySet.end()) ); in template_methods()