Home | History | Annotate | Download | only in unit

Lines Matching refs:location

45   int* location;
46 location = search((int*)v1, (int*)v1 + 6, (int*)v3, (int*)v3 + 2);
47 CPPUNIT_ASSERT(location == v1 + 6);
49 location = search((int*)v2, (int*)v2 + 6, (int*)v3, (int*)v3 + 2);
50 CPPUNIT_ASSERT(location != v2 + 6);
51 CPPUNIT_ASSERT(location - v2 == 3);
61 IntVec::iterator location;
62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end());
64 CPPUNIT_ASSERT(location == v1.end());
68 location = search(v1.begin(), v1.end(), v2.begin(), v2.end());
70 CPPUNIT_ASSERT(location != v1.end());
71 CPPUNIT_ASSERT(location - v1.begin() == 4);
79 char const** location = search((char const**)grades, (char const**)grades + gradeCount, (char const**)letters, (char const**)letters + letterCount, str_equal);
81 CPPUNIT_ASSERT(location == grades + gradeCount);
84 location = search((char const**)grades, (char const**)grades + gradeCount, (char const**)letters, (char const**)letters + letterCount, str_equal);
86 CPPUNIT_ASSERT(location != grades + gradeCount);
87 CPPUNIT_ASSERT(location - grades == 1);