Home | History | Annotate | Download | only in unord.multiset.swap

Lines Matching refs:c1

34         C c1(0, Hash(1), Compare(1), Alloc(1));
37 swap(c1, c2);
39 assert(c1.bucket_count() == 0);
40 assert(c1.size() == 0);
41 assert(c1.hash_function() == Hash(2));
42 assert(c1.key_eq() == Compare(2));
43 assert(c1.get_allocator() == Alloc(1));
44 assert(std::distance(c1.begin(), c1.end()) == c1.size());
45 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
46 assert(c1.max_load_factor() == 2);
74 C c1(0, Hash(1), Compare(1), Alloc(1));
77 swap(c1, c2);
79 assert(c1.bucket_count() >= 11);
80 assert(c1.size() == 8);
81 assert(*c1.find(10) == 10);
82 assert(*c1.find(20) == 20);
83 assert(*c1.find(30) == 30);
84 assert(*c1.find(40) == 40);
85 assert(*c1.find(50) == 50);
86 assert(*c1.find(60) == 60);
87 assert(*c1.find(70) == 70);
88 assert(*c1.find(80) == 80);
89 assert(c1.hash_function() == Hash(2));
90 assert(c1.key_eq() == Compare(2));
91 assert(c1.get_allocator() == Alloc(1));
92 assert(std::distance(c1.begin(), c1.end()) == c1.size());
93 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
94 assert(c1.max_load_factor() == 2);
120 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
123 swap(c1, c2);
125 assert(c1.bucket_count() == 0);
126 assert(c1.size() == 0);
127 assert(c1.hash_function() == Hash(2));
128 assert(c1.key_eq() == Compare(2));
129 assert(c1.get_allocator() == Alloc(1));
130 assert(std::distance(c1.begin(), c1.end()) == c1.size());
131 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
132 assert(c1.max_load_factor() == 2);
173 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
176 swap(c1, c2);
178 assert(c1.bucket_count() >= 11);
179 assert(c1.size() == 8);
180 assert(*c1.find(10) == 10);
181 assert(*c1.find(20) == 20);
182 assert(*c1.find(30) == 30);
183 assert(*c1.find(40) == 40);
184 assert(*c1.find(50) == 50);
185 assert(*c1.find(60) == 60);
186 assert(*c1.find(70) == 70);
187 assert(*c1.find(80) == 80);
188 assert(c1.hash_function() == Hash(2));
189 assert(c1.key_eq() == Compare(2));
190 assert(c1.get_allocator() == Alloc(1));
191 assert(std::distance(c1.begin(), c1.end()) == c1.size());
192 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
193 assert(c1.max_load_factor() == 2);
215 C c1(0, Hash(1), Compare(1), Alloc(1));
218 swap(c1, c2);
220 assert(c1.bucket_count() == 0);
221 assert(c1.size() == 0);
222 assert(c1.hash_function() == Hash(2));
223 assert(c1.key_eq() == Compare(2));
224 assert(c1.get_allocator() == Alloc(2));
225 assert(std::distance(c1.begin(), c1.end()) == c1.size());
226 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
227 assert(c1.max_load_factor() == 2);
255 C c1(0, Hash(1), Compare(1), Alloc(1));
258 swap(c1, c2);
260 assert(c1.bucket_count() >= 11);
261 assert(c1.size() == 8);
262 assert(*c1.find(10) == 10);
263 assert(*c1.find(20) == 20);
264 assert(*c1.find(30) == 30);
265 assert(*c1.find(40) == 40);
266 assert(*c1.find(50) == 50);
267 assert(*c1.find(60) == 60);
268 assert(*c1.find(70) == 70);
269 assert(*c1.find(80) == 80);
270 assert(c1.hash_function() == Hash(2));
271 assert(c1.key_eq() == Compare(2));
272 assert(c1.get_allocator() == Alloc(2));
273 assert(std::distance(c1.begin(), c1.end()) == c1.size());
274 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
275 assert(c1.max_load_factor() == 2);
301 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
304 swap(c1, c2);
306 assert(c1.bucket_count() == 0);
307 assert(c1.size() == 0);
308 assert(c1.hash_function() == Hash(2));
309 assert(c1.key_eq() == Compare(2));
310 assert(c1.get_allocator() == Alloc(2));
311 assert(std::distance(c1.begin(), c1.end()) == c1.size());
312 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
313 assert(c1.max_load_factor() == 2);
354 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
357 swap(c1, c2);
359 assert(c1.bucket_count() >= 11);
360 assert(c1.size() == 8);
361 assert(*c1.find(10) == 10);
362 assert(*c1.find(20) == 20);
363 assert(*c1.find(30) == 30);
364 assert(*c1.find(40) == 40);
365 assert(*c1.find(50) == 50);
366 assert(*c1.find(60) == 60);
367 assert(*c1.find(70) == 70);
368 assert(*c1.find(80) == 80);
369 assert(c1.hash_function() == Hash(2));
370 assert(c1.key_eq() == Compare(2));
371 assert(c1.get_allocator() == Alloc(2));
372 assert(std::distance(c1.begin(), c1.end()) == c1.size());
373 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
374 assert(c1.max_load_factor() == 2);
396 C c1(0, Hash(1), Compare(1), Alloc());
399 swap(c1, c2);
401 assert(c1.bucket_count() == 0);
402 assert(c1.size() == 0);
403 assert(c1.hash_function() == Hash(2));
404 assert(c1.key_eq() == Compare(2));
405 assert(c1.get_allocator() == Alloc());
406 assert(std::distance(c1.begin(), c1.end()) == c1.size());
407 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
408 assert(c1.max_load_factor() == 2);
436 C c1(0, Hash(1), Compare(1), Alloc());
439 swap(c1, c2);
441 assert(c1.bucket_count() >= 11);
442 assert(c1.size() == 8);
443 assert(*c1.find(10) == 10);
444 assert(*c1.find(20) == 20);
445 assert(*c1.find(30) == 30);
446 assert(*c1.find(40) == 40);
447 assert(*c1.find(50) == 50);
448 assert(*c1.find(60) == 60);
449 assert(*c1.find(70) == 70);
450 assert(*c1.find(80) == 80);
451 assert(c1.hash_function() == Hash(2));
452 assert(c1.key_eq() == Compare(2));
453 assert(c1.get_allocator() == Alloc());
454 assert(std::distance(c1.begin(), c1.end()) == c1.size());
455 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
456 assert(c1.max_load_factor() == 2);
482 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc());
485 swap(c1, c2);
487 assert(c1.bucket_count() == 0);
488 assert(c1.size() == 0);
489 assert(c1.hash_function() == Hash(2));
490 assert(c1.key_eq() == Compare(2));
491 assert(c1.get_allocator() == Alloc());
492 assert(std::distance(c1.begin(), c1.end()) == c1.size());
493 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
494 assert(c1.max_load_factor() == 2);
535 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc());
538 swap(c1, c2);
540 assert(c1.bucket_count() >= 11);
541 assert(c1.size() == 8);
542 assert(*c1.find(10) == 10);
543 assert(*c1.find(20) == 20);
544 assert(*c1.find(30) == 30);
545 assert(*c1.find(40) == 40);
546 assert(*c1.find(50) == 50);
547 assert(*c1.find(60) == 60);
548 assert(*c1.find(70) == 70);
549 assert(*c1.find(80) == 80);
550 assert(c1.hash_function() == Hash(2));
551 assert(c1.key_eq() == Compare(2));
552 assert(c1.get_allocator() == Alloc());
553 assert(std::distance(c1.begin(), c1.end()) == c1.size());
554 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size());
555 assert(c1.max_load_factor() == 2);