Home | History | Annotate | Download | only in unit

Lines Matching refs:array

32   const char* array [] = { "laurie", "jennifer", "leisa" };
35 bit = copy(array, array + 3, bit);
37 CPPUNIT_ASSERT(!strcmp(names[0],array[0]));
38 CPPUNIT_ASSERT(!strcmp(names[1],array[1]));
39 CPPUNIT_ASSERT(!strcmp(names[2],array[2]));
41 copy(array, array + 3, bit);
42 CPPUNIT_ASSERT(!strcmp(names[3],array[0]));
43 CPPUNIT_ASSERT(!strcmp(names[4],array[1]));
44 CPPUNIT_ASSERT(!strcmp(names[5],array[2]));
48 const char* array [] = { "laurie", "jennifer", "leisa" };
50 copy(array, array + 3, back_inserter(names));
51 CPPUNIT_ASSERT(!strcmp(names[0],array[0]));
52 CPPUNIT_ASSERT(!strcmp(names[1],array[1]));
53 CPPUNIT_ASSERT(!strcmp(names[2],array[2]));