Lines Matching refs:v2
108 vector <int> v2(v1.size()); in rotcopy1() local
110 rotate_copy(v1.begin(), v1.begin()+1, v1.end(), v2.begin()); in rotcopy1()
111 CPPUNIT_ASSERT(v2[0]==1); in rotcopy1()
112 CPPUNIT_ASSERT(v2[1]==2); in rotcopy1()
113 CPPUNIT_ASSERT(v2[2]==3); in rotcopy1()
114 CPPUNIT_ASSERT(v2[3]==4); in rotcopy1()
115 CPPUNIT_ASSERT(v2[4]==5); in rotcopy1()
116 CPPUNIT_ASSERT(v2[5]==6); in rotcopy1()
117 CPPUNIT_ASSERT(v2[6]==7); in rotcopy1()
118 CPPUNIT_ASSERT(v2[7]==8); in rotcopy1()
119 CPPUNIT_ASSERT(v2[8]==9); in rotcopy1()
120 CPPUNIT_ASSERT(v2[9]==0); in rotcopy1()
122 rotate_copy(v1.begin(), v1.begin()+3, v1.end(), v2.begin()); in rotcopy1()
123 CPPUNIT_ASSERT(v2[0]==3); in rotcopy1()
124 CPPUNIT_ASSERT(v2[1]==4); in rotcopy1()
125 CPPUNIT_ASSERT(v2[2]==5); in rotcopy1()
126 CPPUNIT_ASSERT(v2[3]==6); in rotcopy1()
127 CPPUNIT_ASSERT(v2[4]==7); in rotcopy1()
128 CPPUNIT_ASSERT(v2[5]==8); in rotcopy1()
129 CPPUNIT_ASSERT(v2[6]==9); in rotcopy1()
130 CPPUNIT_ASSERT(v2[7]==0); in rotcopy1()
131 CPPUNIT_ASSERT(v2[8]==1); in rotcopy1()
132 CPPUNIT_ASSERT(v2[9]==2); in rotcopy1()