Lines Matching refs:CHECK
51 default: CHECK(false); break; in push()
89 CHECK(queue.size() == 0); in TestEmptyQueue()
90 CHECK(queue.capacity()> 0); in TestEmptyQueue()
91 CHECK(size_t(queue.capacity())>= std::size_t(-1)/(sizeof(void*)+sizeof(T))); in TestEmptyQueue()
115 CHECK((result == (i < n))); in TestFullQueue()
121 CHECK((result == (i < n))); in TestFullQueue()
122 CHECK((result == 0 || f.get_serial() == i)); in TestFullQueue()
125 CHECK(allocator_type::items_allocated == allocator_type::items_freed); in TestFullQueue()
126 CHECK(allocator_type::allocations == allocator_type::frees); in TestFullQueue()
151 CHECK(queue.size() == n); in TestClear()
154 CHECK(queue.size()==0); in TestClear()
161 CHECK(queue.size() == n); in TestClear()
163 CHECK(queue.size() == 0); in TestClear()
171 CHECK(queue.size()==n); in TestClear()
210 CHECK(i == j); in TestIteratorAssignment()
211 CHECK(!(i != j)); in TestIteratorAssignment()
215 CHECK(k == j); in TestIteratorAssignment()
216 CHECK(!(k != j)); in TestIteratorAssignment()
227 CHECK((&xr == xp)); in TestIteratorTraits()
464 CHECK(src_queue.size() == dst_queue3.size()); in TestConstructors()
465 CHECK(0 == dst_queue3.size()); in TestConstructors()
488 CHECK(src_queue.size() == dst_queue5.size()); in TestConstructors()
505 CHECK(src_queue.size() == dst_queue5.size()); in TestConstructors()
604 CHECK(queue.size() == std::size_t(i - number_of_pops)); in operator ()()
605 CHECK((queue.empty() == (queue.size() <= 0))); in operator ()()
647 CHECK(thread_id < nthread); in operator ()()
681 CHECK(nthread> 0); in TestPushPop()
801 CHECK(item.state == LIVE); in FooEx()
810 CHECK(state==LIVE); in ~FooEx()
817 CHECK(item.state==LIVE); in operator =()
818 CHECK(state==LIVE); in operator =()
1183 CHECK(pusher<push_op>::push( q, MoveOperationTracker() )); in TestMoveSupport()
1188 CHECK(pusher<push_op>::push( q, std::move(ob) )); in TestMoveSupport()
1196 CHECK(result); in TestMoveSupport()
1239 CHECK(q.size() == typename Queue::size_type(vec.size())); in AssertEquality()
1240 CHECK(std::equal(q.unsafe_begin(), q.unsafe_end(), vec.begin())); in AssertEquality()
1245 CHECK(q.empty()); in AssertEmptiness()
1246 CHECK(!q.size()); in AssertEmptiness()
1248 CHECK(!q.try_pop(elem)); in AssertEmptiness()
1254 CHECK(pusher<push_op>::push(q, *it)); in FillTest()
1265 CHECK(elem == *it); in EmptyTest()
1268 CHECK(it == vec.end()); in EmptyTest()
1285 CHECK(q2.capacity() == size_type(vec.size())); in bounded_queue_specific_test()
1286 CHECK(q2.size() == size_type(vec.size())); in bounded_queue_specific_test()
1287 CHECK(!q2.try_push(vec[0])); in bounded_queue_specific_test()
1310 CHECK(T::construction_num == 2 * size); in TestMoveConstructors()
1311 CHECK(T::destruction_num == size); in TestMoveConstructors()
1321 CHECK(T::construction_num == size); in TestMoveConstructors()
1322 CHECK(T::destruction_num == size); in TestMoveConstructors()
1335 CHECK(T::construction_num == 0); in TestMoveConstructors()
1336 CHECK(T::destruction_num == 0); in TestMoveConstructors()
1349 CHECK(pop_result); in TestMoveConstructors()
1350 CHECK(test == popped); in TestMoveConstructors()
1352 CHECK(dst_queue2.empty()); in TestMoveConstructors()
1353 CHECK(dst_queue2.size() == 0); in TestMoveConstructors()
1396 CHECK(cq.size() == 1); in TestEmplaceInQueue()
1399 CHECK(result); in TestEmplaceInQueue()
1400 CHECK(popped.get_a() == 5); in TestEmplaceInQueue()
1401 CHECK(popped.get_str() == std::string( "" )); in TestEmplaceInQueue()
1404 CHECK(cq.empty()); in TestEmplaceInQueue()
1410 CHECK(result); in TestEmplaceInQueue()
1411 CHECK(popped.get_a() == 0); in TestEmplaceInQueue()
1412 CHECK(popped.get_str() == test_str); in TestEmplaceInQueue()
1415 CHECK(cq.empty()); in TestEmplaceInQueue()
1421 CHECK(result); in TestEmplaceInQueue()
1422 CHECK(popped.get_a() == 5); in TestEmplaceInQueue()
1423 CHECK(popped.get_str() == test_str); in TestEmplaceInQueue()
1623 CHECK(!container.empty()); in test_basics()
1627 CHECK(it->get_obj() == it->get_default_obj()); in test_basics()
1630 CHECK(counter == desired_size); in test_basics()
1633 CHECK(container.empty()); in test_basics()
1666 CHECK(default_container.try_pop(result)); in test_with_minimalistic_objects()
1670 CHECK(element_counter == elements_count); in test_with_minimalistic_objects()
1671 CHECK(default_container.empty()); in test_with_minimalistic_objects()
1700 CHECK(q3.empty()); in test_queue_helper()
1702 CHECK(q1 != q4); in test_queue_helper()
1704 CHECK(q2 == q4); in test_queue_helper()
1707 CHECK(q2.empty()); in test_queue_helper()
1708 CHECK(q3 == q4); in test_queue_helper()
1740 CHECK(q1_items_allocated == allocator_type::items_freed); in TestMoveQueue()
1741 CHECK(q1_items_constructed == allocator_type::items_destroyed); in TestMoveQueue()
1742 CHECK(q2_items_allocated >= allocator_type::items_allocated); in TestMoveQueue()