Lines Matching refs:v1
76 vector <int> v1(numbers, numbers+10); in stblptn1() local
79 stable_partition(v1.begin(), v1.end(), less_n(11, nb_pred_calls)); in stblptn1()
81 CPPUNIT_ASSERT(v1[0]==5); in stblptn1()
82 CPPUNIT_ASSERT(v1[1]==5); in stblptn1()
83 CPPUNIT_ASSERT(v1[2]==2); in stblptn1()
84 CPPUNIT_ASSERT(v1[3]==10); in stblptn1()
85 CPPUNIT_ASSERT(v1[4]==0); in stblptn1()
86 CPPUNIT_ASSERT(v1[5]==5); in stblptn1()
87 CPPUNIT_ASSERT(v1[6]==0); in stblptn1()
88 CPPUNIT_ASSERT(v1[7]==0); in stblptn1()
89 CPPUNIT_ASSERT(v1[8]==12); in stblptn1()
90 CPPUNIT_ASSERT(v1[9]==19); in stblptn1()
91 CPPUNIT_ASSERT( nb_pred_calls == v1.size() ); in stblptn1()
115 vector <int> v1(numbers, numbers+10); in ptition1() local
117 partition(v1.begin(), v1.end(), less_n(11, nb_pred_calls)); in ptition1()
119 CPPUNIT_ASSERT(v1[0]==6); in ptition1()
120 CPPUNIT_ASSERT(v1[1]==3); in ptition1()
121 CPPUNIT_ASSERT(v1[2]==9); in ptition1()
122 CPPUNIT_ASSERT(v1[3]==8); in ptition1()
123 CPPUNIT_ASSERT(v1[4]==10); in ptition1()
124 CPPUNIT_ASSERT(v1[5]==19); in ptition1()
125 CPPUNIT_ASSERT(v1[6]==14); in ptition1()
126 CPPUNIT_ASSERT(v1[7]==17); in ptition1()
127 CPPUNIT_ASSERT(v1[8]==11); in ptition1()
128 CPPUNIT_ASSERT(v1[9]==19); in ptition1()
129 CPPUNIT_ASSERT( nb_pred_calls == v1.size() ); in ptition1()