Home | History | Annotate | Download | only in unit

Lines Matching defs:result

44   pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2);
45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5));
47 result = mismatch((int*)n1, (int*)n1 + 5, (int*)n3);
48 CPPUNIT_ASSERT(!(result.first ==(n1 + 5) && result.second ==(n3 + 5)));
49 CPPUNIT_ASSERT((result.first - n1)==3);
58 pair <IntVec::iterator, IntVec::iterator> result = mismatch(v1.begin(), v1.end(), v2.begin());
60 CPPUNIT_ASSERT(result.first == v1.end() && result.second == v2.end());
63 result = mismatch(v1.begin(), v1.end(), v2.begin());
64 CPPUNIT_ASSERT(!(result.first == v1.end() && result.second == v2.end()));
65 CPPUNIT_ASSERT((result.first - v1.begin())==5);
74 pair <char const**, char const**> result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal);
76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size);
79 result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal);
80 CPPUNIT_ASSERT(!(result.first == n2 + size && result.second == n2 + size));
81 CPPUNIT_ASSERT((result.first - n1)==2);