Home
last modified time | relevance | path

Searched refs:testset2 (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/intrusive/test/
Dunordered_test.hpp255 unordered_type testset2(bucket_traits( in test_insert() local
257 testset2.insert(&values[0], &values[0] + values.size()); in test_insert()
258 BOOST_TEST (testset2.erase(key_type(5)) == 1); in test_insert()
259 BOOST_TEST (testset2.erase(key_type(2)) == 2); in test_insert()
260 BOOST_TEST (testset2.erase(key_type(1)) == 1); in test_insert()
261 BOOST_TEST (testset2.erase(key_type(4)) == 1); in test_insert()
262 BOOST_TEST (testset2.erase(key_type(3)) == 1); in test_insert()
263 BOOST_TEST (testset2.empty() == true); in test_insert()
298 unordered_type testset2(bucket_traits( in test_insert() local
300 testset2.insert(&values[0], &values[0] + values.size()); in test_insert()
[all …]
Dgeneric_multiset_test.hpp113 multiset_type2 testset2 (values.begin(), values.begin() + 6); in test_sort() local
115 TEST_INTRUSIVE_SEQUENCE( init_values, testset2.rbegin() ); } in test_sort()
117 BOOST_TEST (testset2.begin()->value_ == 2); in test_sort()
118 BOOST_TEST (testset2.rbegin()->value_ == 5); in test_sort()
164 multiset_type testset2; in test_swap() local
165 testset2.insert (values.begin() + 2, values.begin() + 6); in test_swap()
166 testset1.swap (testset2); in test_swap()
171 TEST_INTRUSIVE_SEQUENCE( init_values, testset2.begin() ); } in test_swap()
193 multiset_greater_type testset2; in test_merge() local
194 testset2.insert (values.begin() + 2, values.begin() + 6); in test_merge()
[all …]
Dgeneric_set_test.hpp129 set_type2 testset2 (values.begin(), values.begin() + 6); in test_sort() local
131 TEST_INTRUSIVE_SEQUENCE( init_values, testset2.rbegin() ); } in test_sort()
132 BOOST_TEST (testset2.begin()->value_ == 2); in test_sort()
133 BOOST_TEST (testset2.rbegin()->value_ == 5); in test_sort()
245 set_type testset2; in test_swap() local
246 testset2.insert (values.begin() + 2, values.begin() + 6); in test_swap()
247 testset1.swap (testset2); in test_swap()
253 TEST_INTRUSIVE_SEQUENCE( init_values, testset2.begin() ); } in test_swap()
274 set_greater_type testset2; in test_merge() local
275 testset2.insert (values.begin() + 2, values.begin() + 6); in test_merge()
[all …]
Dgeneric_assoc_test.hpp189 assoc_type testset2; in test_clone() local
193testset2.clone_from(testset1, test::new_cloner<value_type>(), test::delete_disposer<value_type>()); in test_clone()
195 BOOST_TEST (testset2 == testset1); in test_clone()
196 testset2.clear_and_dispose(test::delete_disposer<value_type>()); in test_clone()
197 BOOST_TEST (testset2.empty()); in test_clone()
200testset2.clone_from(boost::move(testset1), test::new_nonconst_cloner<value_type>(), test::delete_d… in test_clone()
201 BOOST_TEST (testset2 == testset1); in test_clone()
202 testset2.clear_and_dispose(test::delete_disposer<value_type>()); in test_clone()
203 BOOST_TEST (testset2.empty()); in test_clone()