Lines Matching refs:v1
86 vector<int> v1(10); in copy_vector() local
87 for (int i = 0; (size_t)i < v1.size(); ++i) in copy_vector()
88 v1[i] = i; in copy_vector()
90 vector<int> v2(v1.size()); in copy_vector()
91 copy(v1.begin(), v1.end(), v2.begin()); in copy_vector()
93 CPPUNIT_ASSERT( v2 == v1 ); in copy_vector()
97 vector<int> v1(10); in copy_insert() local
98 for (int loc = 0; (size_t)loc < v1.size(); ++loc) in copy_insert()
99 v1[loc] = loc; in copy_insert()
102 copy(v1.begin(), v1.end(), i); in copy_insert()
104 CPPUNIT_ASSERT( v2 == v1 ); in copy_insert()
109 vector<int> v1(10); in copy_back() local
110 for (int i = 0; (size_t)i < v1.size(); ++i) in copy_back()
111 v1[i] = i; in copy_back()
112 vector<int> v2(v1.size()); in copy_back()
113 copy_backward(v1.begin(), v1.end(), v2.end()); in copy_back()
115 CPPUNIT_ASSERT( v2 == v1 ); in copy_back()