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