Definition at line 14 of file nthelm_test.cpp.
◆ CPPUNIT_TEST() [1/3]
◆ CPPUNIT_TEST() [2/3]
◆ CPPUNIT_TEST() [3/3]
◆ CPPUNIT_TEST_SUITE()
◆ CPPUNIT_TEST_SUITE_END()
NthElemTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
|
private |
◆ nthelem0()
void NthElemTest::nthelem0 |
( |
| ) |
|
|
protected |
Definition at line 33 of file nthelm_test.cpp.
34{
35 int numbers[7] = { 5, 2, 4, 1, 0, 3 ,77};
37
44}
_STLP_MOVE_TO_STD_NAMESPACE void nth_element(_RandomAccessIter __first, _RandomAccessIter __nth, _RandomAccessIter __last)
#define CPPUNIT_ASSERT(X)
◆ nthelem1()
void NthElemTest::nthelem1 |
( |
| ) |
|
|
protected |
Definition at line 45 of file nthelm_test.cpp.
46{
47
48
49 int numbers[10] = { 6, 8, 5, 1, 7, 4, 1, 5, 2, 6 };
50
51 vector <int>
v1(numbers, numbers+10);
53
64}
◆ nthelem2()
void NthElemTest::nthelem2 |
( |
| ) |
|
|
protected |
Definition at line 65 of file nthelm_test.cpp.
66{
67
68
69
70 int numbers[10] = { 4, 5, 4, 2, 1, 7, 4, 3, 1, 6 };
71 vector <int>
v1(numbers, numbers+10);
73
84}
The documentation for this class was generated from the following file: