Definition at line 13 of file min_test.cpp.
◆ CPPUNIT_TEST() [1/4]
MinTest::CPPUNIT_TEST |
( |
min1 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [2/4]
MinTest::CPPUNIT_TEST |
( |
min2 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [3/4]
◆ CPPUNIT_TEST() [4/4]
◆ CPPUNIT_TEST_SUITE()
MinTest::CPPUNIT_TEST_SUITE |
( |
MinTest |
| ) |
|
|
private |
◆ CPPUNIT_TEST_SUITE_END()
MinTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
|
private |
◆ min1()
Definition at line 36 of file min_test.cpp.
37{
40
43}
#define CPPUNIT_ASSERT(X)
GLdouble GLdouble GLdouble r
◆ min2()
Definition at line 44 of file min_test.cpp.
45{
46 const char*
r =
min((
const char*)
"shoe", (
const char*)
"shine",
str_compare);
48}
int strcmp(const char *String1, const char *String2)
static bool str_compare(const char *a_, const char *b_)
◆ minelem1()
void MinTest::minelem1 |
( |
| ) |
|
|
protected |
Definition at line 49 of file min_test.cpp.
50{
51 int numbers[6] = { -10, 15, -100, 36, -242, 42 };
54}
_ForwardIter min_element(_ForwardIter __first, _ForwardIter __last)
◆ minelem2()
void MinTest::minelem2 |
( |
| ) |
|
|
protected |
Definition at line 55 of file min_test.cpp.
56{
57 const char*
names[] = {
"Brett",
"Graham",
"Jack",
"Mike",
"Todd" };
58
59 const unsigned namesCt =
sizeof(
names) /
sizeof(
names[0]);
62}
◆ str_compare()
The documentation for this class was generated from the following file: