ReactOS 0.4.15-dev-5669-g09dde2c
binsert_test.cpp
Go to the documentation of this file.
1#include <vector>
2#include <algorithm>
3
5
6#if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)
7using namespace std;
8#endif
9
10//
11// TestCase class
12//
13class BinsertTest : public CPPUNIT_NS::TestCase
14{
19
20protected:
21 void binsert1();
22 void binsert2();
23};
24
26
27//
28// tests implementation
29//
31{
32 const char* array [] = { "laurie", "jennifer", "leisa" };
33 vector<const char*> names;
35 bit = copy(array, array + 3, bit);
36
40
41 copy(array, array + 3, bit);
45}
47{
48 const char* array [] = { "laurie", "jennifer", "leisa" };
49 vector<const char*> names;
54}
back_insert_iterator< _Container > _STLP_CALL back_inserter(_Container &__x)
Definition: _iterator.h:187
int strcmp(const char *String1, const char *String2)
Definition: utclib.c:469
INT copy(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], INT append, DWORD lpdwFlags, BOOL bTouch)
Definition: copy.c:51
CPPUNIT_TEST_SUITE(BinsertTest)
void binsert1()
CPPUNIT_TEST_SUITE_END()
CPPUNIT_TEST(binsert1)
void binsert2()
CPPUNIT_TEST(binsert2)
#define CPPUNIT_TEST_SUITE_REGISTRATION(X)
Definition: cppunit_mini.h:193
#define CPPUNIT_ASSERT(X)
Definition: cppunit_mini.h:200
GLuint GLuint * names
Definition: glext.h:11545
Definition: features.h:417