Definition at line 13 of file max_test.cpp.
◆ CPPUNIT_TEST() [1/4]
MaxTest::CPPUNIT_TEST |
( |
max1 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [2/4]
MaxTest::CPPUNIT_TEST |
( |
max2 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [3/4]
◆ CPPUNIT_TEST() [4/4]
◆ CPPUNIT_TEST_SUITE()
MaxTest::CPPUNIT_TEST_SUITE |
( |
MaxTest |
| ) |
|
|
private |
◆ CPPUNIT_TEST_SUITE_END()
MaxTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
|
private |
◆ max1()
Definition at line 37 of file max_test.cpp.
38{
41
44}
#define CPPUNIT_ASSERT(X)
GLdouble GLdouble GLdouble r
◆ max2()
Definition at line 45 of file max_test.cpp.
46{
47 const char*
r =
max((
const char*)
"shoe", (
const char*)
"shine",
str_compare);
49}
int strcmp(const char *String1, const char *String2)
static bool str_compare(const char *a_, const char *b_)
◆ maxelem1()
void MaxTest::maxelem1 |
( |
| ) |
|
|
protected |
Definition at line 50 of file max_test.cpp.
51{
52 int numbers[6] = { 4, 10, 56, 11, -42, 19 };
53
56}
_ForwardIter max_element(_ForwardIter __first, _ForwardIter __last)
◆ maxelem2()
void MaxTest::maxelem2 |
( |
| ) |
|
|
protected |
Definition at line 57 of file max_test.cpp.
58{
59 const char*
names[] = {
"Brett",
"Graham",
"Jack",
"Mike",
"Todd" };
60
61 const unsigned namesCt =
sizeof(
names) /
sizeof(
names[0]);
64}
◆ str_compare()
The documentation for this class was generated from the following file: