Definition at line 12 of file unique_test.cpp.
◆ CPPUNIT_TEST() [1/4]
◆ CPPUNIT_TEST() [2/4]
◆ CPPUNIT_TEST() [3/4]
UniqueTest::CPPUNIT_TEST |
( |
unique1 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [4/4]
UniqueTest::CPPUNIT_TEST |
( |
unique2 |
| ) |
|
|
private |
◆ CPPUNIT_TEST_SUITE()
◆ CPPUNIT_TEST_SUITE_END()
UniqueTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
|
private |
◆ uniqcpy1()
void UniqueTest::uniqcpy1 |
( |
| ) |
|
|
protected |
Definition at line 68 of file unique_test.cpp.
69{
70 int numbers[8] = { 0, 1, 1, 2, 2, 2, 3, 4 };
71 int result[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
72
74
75
84}
_STLP_MOVE_TO_STD_NAMESPACE _OutputIter unique_copy(_InputIter __first, _InputIter __last, _OutputIter __result)
#define CPPUNIT_ASSERT(X)
◆ uniqcpy2()
void UniqueTest::uniqcpy2 |
( |
| ) |
|
|
protected |
Definition at line 86 of file unique_test.cpp.
87{
88 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"};
89 const char **plabels = (const char**)labels;
90
91 const size_t count =
sizeof(labels) /
sizeof(labels[0]);
92 const char* uCopy[
count];
93 const char **puCopy = &uCopy[0];
95
97
98
105}
_STLP_MOVE_TO_STD_NAMESPACE void fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val)
GLuint GLuint GLsizei count
static bool str_equal(const char *a_, const char *b_)
◆ unique1()
void UniqueTest::unique1 |
( |
| ) |
|
|
protected |
Definition at line 35 of file unique_test.cpp.
36{
37 int numbers[8] = { 0, 1, 1, 2, 2, 2, 3, 4 };
38 unique((
int*)numbers, (
int*)numbers + 8);
39
48}
◆ unique2()
void UniqueTest::unique2 |
( |
| ) |
|
|
protected |
Definition at line 50 of file unique_test.cpp.
51{
52 const char* labels[] = {"Q", "Q", "W", "W", "E", "E", "R", "T", "T", "Y", "Y"};
53
54 const unsigned count =
sizeof(labels) /
sizeof(labels[0]);
55
57
58
65
66}
The documentation for this class was generated from the following file: