Home | History | Annotate | Download | only in unit

Lines Matching refs:location

46   int* location = adjacent_find((int*)numbers1, (int*)numbers1 + 5);
47 CPPUNIT_ASSERT(location == numbers1 + 5); // no adj so loc should be _last
49 location = adjacent_find((int*)numbers2, (int*)numbers2 + 5);
50 CPPUNIT_ASSERT(location != numbers2 + 5); // adj location off should be 3 (first 1)
51 CPPUNIT_ASSERT((location - numbers2)==3);
59 IntVector::iterator location;
60 location = adjacent_find(v.begin(), v.end());
61 CPPUNIT_ASSERT(location == v.end());
63 location = adjacent_find(v.begin(), v.end());
64 CPPUNIT_ASSERT(location != v.end());
76 CStrVector::iterator location;
77 location = adjacent_find(v.begin(), v.end(), equal_length);
79 CPPUNIT_ASSERT(location != v.end());