Home | History | Annotate | Download | only in unit

Lines Matching full:names

36   deque<char const*> names(array1, array1 + 3);
37 deque<char const*>::iterator i = names.begin() + 2;
39 insert_iterator<deque <char const*> > itd(names, i);
40 itd = copy(array2, array2 + 3, insert_iterator<deque <char const*> >(names, i));
42 CPPUNIT_ASSERT( !strcmp(names[0], "laurie") );
43 CPPUNIT_ASSERT( !strcmp(names[1], "jennifer") );
44 CPPUNIT_ASSERT( !strcmp(names[2], "amanda") );
45 CPPUNIT_ASSERT( !strcmp(names[3], "saskia") );
46 CPPUNIT_ASSERT( !strcmp(names[4], "carrie") );
47 CPPUNIT_ASSERT( !strcmp(names[5], "leisa") );
50 CPPUNIT_ASSERT( !strcmp(names[5], "laurie") );
51 CPPUNIT_ASSERT( !strcmp(names[6], "jennifer") );
52 CPPUNIT_ASSERT( !strcmp(names[7], "leisa") );
53 CPPUNIT_ASSERT( !strcmp(names[8], "leisa") );
60 deque<char const*> names(array1, array1 + 3);
61 deque<char const*>::iterator i = names.begin() + 2;
62 copy(array2, array2 + 3, inserter(names, i));
64 CPPUNIT_ASSERT( !strcmp(names[0], "laurie") );
65 CPPUNIT_ASSERT( !strcmp(names[1], "jennifer") );
66 CPPUNIT_ASSERT( !strcmp(names[2], "amanda") );
67 CPPUNIT_ASSERT( !strcmp(names[3], "saskia") );
68 CPPUNIT_ASSERT( !strcmp(names[4], "carrie") );
69 CPPUNIT_ASSERT( !strcmp(names[5], "leisa") );