Lines Matching refs:array
33 char const* array [] = { "laurie", "jennifer", "leisa" }; in finsert1() local
36 fit = copy(array, array + 3, front_insert_iterator<deque <char const*> >(names)); in finsert1()
38 CPPUNIT_ASSERT(names[0]==array[2]); in finsert1()
39 CPPUNIT_ASSERT(names[1]==array[1]); in finsert1()
40 CPPUNIT_ASSERT(names[2]==array[0]); in finsert1()
42 copy(array, array + 3, fit); in finsert1()
43 CPPUNIT_ASSERT(names[3]==array[2]); in finsert1()
44 CPPUNIT_ASSERT(names[4]==array[1]); in finsert1()
45 CPPUNIT_ASSERT(names[5]==array[0]); in finsert1()
50 char const* array [] = { "laurie", "jennifer", "leisa" }; in finsert2() local
53 copy(array, array + 3, front_inserter(names)); in finsert2()
55 CPPUNIT_ASSERT(names[0]==array[2]); in finsert2()
56 CPPUNIT_ASSERT(names[1]==array[1]); in finsert2()
57 CPPUNIT_ASSERT(names[2]==array[0]); in finsert2()