6 #if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES) 13 class MaxTest :
public CPPUNIT_NS::TestCase
29 {
return strcmp(a_, b_) < 0 ? 1 : 0; }
47 const char*
r =
max((
const char*)
"shoe", (
const char*)
"shine", str_compare);
52 int numbers[6] = { 4, 10, 56, 11, -42, 19 };
59 const char*
names[] = {
"Brett",
"Graham",
"Jack",
"Mike",
"Todd" };
61 const unsigned namesCt =
sizeof(
names) /
sizeof(
names[0]);
GLdouble GLdouble GLdouble r
#define CPPUNIT_TEST_SUITE(X)
static bool str_compare(const char *a_, const char *b_)
#define CPPUNIT_TEST_SUITE_END()
_ForwardIter max_element(_ForwardIter __first, _ForwardIter __last)
CPPUNIT_TEST_SUITE_REGISTRATION(MaxTest)
#define CPPUNIT_ASSERT(X)
int strcmp(const char *String1, const char *String2)