• Home
  • Raw
  • Download

Lines Matching refs:CPPUNIT_ASSERT

86   CPPUNIT_ASSERT( !strcmp(m['x'].c_str(),"20") );  in hmap1()
88 CPPUNIT_ASSERT( !strcmp(m['x'].c_str(),"10") ); in hmap1()
90 CPPUNIT_ASSERT( !strcmp(m['z'].c_str(),"") ); in hmap1()
92 CPPUNIT_ASSERT( m.count('z')==1 ); in hmap1()
95 CPPUNIT_ASSERT(p.second); in hmap1()
98 CPPUNIT_ASSERT(!p.second); in hmap1()
106 CPPUNIT_ASSERT( ite == cite ); in hmap1()
107 CPPUNIT_ASSERT( !(ite != cite) ); in hmap1()
108 CPPUNIT_ASSERT( cite == ite ); in hmap1()
109 CPPUNIT_ASSERT( !(cite != ite) ); in hmap1()
118 CPPUNIT_ASSERT(m.count('X')==0); in hmmap1()
120 CPPUNIT_ASSERT(m.count('X')==1); in hmmap1()
123 CPPUNIT_ASSERT(m.count('X')==2); in hmmap1()
128 CPPUNIT_ASSERT((*i).first=='X'); in hmmap1()
129 CPPUNIT_ASSERT((*i).second==10); in hmmap1()
131 CPPUNIT_ASSERT((*i).first=='X'); in hmmap1()
132 CPPUNIT_ASSERT((*i).second==20); in hmmap1()
134 CPPUNIT_ASSERT((*i).first=='Y'); in hmmap1()
135 CPPUNIT_ASSERT((*i).second==32); in hmmap1()
137 CPPUNIT_ASSERT(i==m.end()); in hmmap1()
140 CPPUNIT_ASSERT(count==2); in hmmap1()
145 CPPUNIT_ASSERT( ite == cite ); in hmmap1()
146 CPPUNIT_ASSERT( !(ite != cite) ); in hmmap1()
147 CPPUNIT_ASSERT( cite == ite ); in hmmap1()
148 CPPUNIT_ASSERT( !(cite != ite) ); in hmmap1()
160 CPPUNIT_ASSERT( hmap.count(12325) == 2 ); in hmmap1()
165 CPPUNIT_ASSERT( hmap.count(12325) == 2 ); in hmmap1()
284 CPPUNIT_ASSERT( s.count(star) == 0 ); in hmset1()
286 CPPUNIT_ASSERT( s.count(star) == 1 ); in hmset1()
288 CPPUNIT_ASSERT( s.count(star) == 2 ); in hmset1()
290 CPPUNIT_ASSERT( i == s.end() ); in hmset1()
293 CPPUNIT_ASSERT( i != s.end() ) in hmset1()
294 CPPUNIT_ASSERT( *i == '*' ); in hmset1()
295 CPPUNIT_ASSERT( s.erase(star) == 2 ); in hmset1()
303 CPPUNIT_ASSERT( p.second ); in hset2()
304 CPPUNIT_ASSERT( *(p.first) == 42 ); in hset2()
307 CPPUNIT_ASSERT( !p.second ); in hset2()
319 CPPUNIT_ASSERT( values.insert(val_type("foo", 0)).second ); in insert_erase()
320 CPPUNIT_ASSERT( values.insert(val_type("bar", 0)).second ); in insert_erase()
321 CPPUNIT_ASSERT( values.insert(val_type("abc", 0)).second ); in insert_erase()
323 CPPUNIT_ASSERT( values.insert(hmap::value_type("foo", 0)).second ); in insert_erase()
324 CPPUNIT_ASSERT( values.insert(hmap::value_type("bar", 0)).second ); in insert_erase()
325 CPPUNIT_ASSERT( values.insert(hmap::value_type("abc", 0)).second ); in insert_erase()
328 CPPUNIT_ASSERT( values.erase("foo") == 1 ); in insert_erase()
329 CPPUNIT_ASSERT( values.erase("bar") == 1 ); in insert_erase()
330 CPPUNIT_ASSERT( values.erase("abc") == 1 ); in insert_erase()
336 CPPUNIT_ASSERT( values.insert(val_type("foo", 0)).second ); in insert_erase()
337 CPPUNIT_ASSERT( values.insert(val_type("bar", 0)).second ); in insert_erase()
338 CPPUNIT_ASSERT( values.insert(val_type("abc", 0)).second ); in insert_erase()
340 CPPUNIT_ASSERT( values.insert(hmap::value_type("foo", 0)).second ); in insert_erase()
341 CPPUNIT_ASSERT( values.insert(hmap::value_type("bar", 0)).second ); in insert_erase()
342 CPPUNIT_ASSERT( values.insert(hmap::value_type("abc", 0)).second ); in insert_erase()
345 CPPUNIT_ASSERT( values.erase("abc") == 1 ); in insert_erase()
346 CPPUNIT_ASSERT( values.erase("bar") == 1 ); in insert_erase()
347 CPPUNIT_ASSERT( values.erase("foo") == 1 ); in insert_erase()
402 CPPUNIT_ASSERT( hint1.get_allocator().swaped() ); in allocator_with_state()
403 CPPUNIT_ASSERT( hint2.get_allocator().swaped() ); in allocator_with_state()
405 CPPUNIT_ASSERT( hint1.get_allocator() == stack2 ); in allocator_with_state()
406 CPPUNIT_ASSERT( hint2.get_allocator() == stack1 ); in allocator_with_state()
408 CPPUNIT_ASSERT( stack1.ok() ); in allocator_with_state()
409 CPPUNIT_ASSERT( stack2.ok() ); in allocator_with_state()