Lines Matching refs:v1
51 vector <int> v1(10); in gener2() local
53 generate(v1.begin(), v1.end(), generator); in gener2()
55 CPPUNIT_ASSERT(v1[0]==1); in gener2()
56 CPPUNIT_ASSERT(v1[1]==1); in gener2()
57 CPPUNIT_ASSERT(v1[2]==2); in gener2()
58 CPPUNIT_ASSERT(v1[3]==3); in gener2()
59 CPPUNIT_ASSERT(v1[4]==5); in gener2()
60 CPPUNIT_ASSERT(v1[5]==8); in gener2()
61 CPPUNIT_ASSERT(v1[6]==13); in gener2()
62 CPPUNIT_ASSERT(v1[7]==21); in gener2()
63 CPPUNIT_ASSERT(v1[8]==34); in gener2()
64 CPPUNIT_ASSERT(v1[9]==55); in gener2()
72 vector <int> v1(10); in genern1() local
73 generate_n(v1.begin(), v1.size(), ptr_gen(cxxrand)); in genern1()
78 vector <int> v1(10); in genern2() local
80 generate_n(v1.begin(), v1.size(), generator); in genern2()
82 CPPUNIT_ASSERT(v1[0]==1); in genern2()
83 CPPUNIT_ASSERT(v1[1]==1); in genern2()
84 CPPUNIT_ASSERT(v1[2]==2); in genern2()
85 CPPUNIT_ASSERT(v1[3]==3); in genern2()
86 CPPUNIT_ASSERT(v1[4]==5); in genern2()
87 CPPUNIT_ASSERT(v1[5]==8); in genern2()
88 CPPUNIT_ASSERT(v1[6]==13); in genern2()
89 CPPUNIT_ASSERT(v1[7]==21); in genern2()
90 CPPUNIT_ASSERT(v1[8]==34); in genern2()
91 CPPUNIT_ASSERT(v1[9]==55); in genern2()