2#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
14#if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)
21class AlgTest :
public CPPUNIT_NS::TestCase
50 char c =
max(
'a',
'z');
53#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
64 int i[] = { 1, 4, 2, 8, 2, 2 };
67#if defined (STLPORT) && !defined (_STLP_NO_ANACHRONISMS)
81 int n =
count(
i.begin(),
i.end(), 2);
83#if defined (STLPORT) && !defined (_STLP_NO_ANACHRONISMS)
95 years.push_back(1962);
96 years.push_back(1992);
97 years.push_back(2001);
98 years.push_back(1999);
99 sort(years.begin(), years.end());
119#define ARRAY_SIZE(arr) sizeof(arr) / sizeof(arr[0])
123 int ints[] = {0, 1, 2, 3, 3, 4, 4, 4, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5};
125#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
158#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
193 int array[] = {0, 0, 1, 0, 1, 1};
200 int array[] = {0, 1, 2, 3, 4, 5};
217#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
277 char chars[] = {1, 2};
291 unsigned char chars[] = {1, 2, 255};
295 intv.push_back(1029);
305 signed char chars[] = {93, 2, -101, 13};
309 intv.push_back(1029);
310 intv.push_back(-2035);
311 intv.push_back(-101);
320 char chars[] = {1, 2};
322 vector<MyIntComparable> intv;
341 {
return p.second ==
value; }
356 values.push_back(
"four" );
357 values.push_back(
"ten" );
_STLP_MOVE_TO_STD_NAMESPACE void sort(_RandomAccessIter __first, _RandomAccessIter __last)
_STLP_MOVE_TO_STD_NAMESPACE _ForwardIter search_n(_ForwardIter __first, _ForwardIter __last, _Integer __count, const _Tp &__val)
_InputIter find_first_of(_InputIter __first1, _InputIter __last1, _ForwardIter __first2, _ForwardIter __last2)
CPPUNIT_TEST(find_first_of_nsc_test)
void find_first_of_nsc_test()
void find_first_of_test()
CPPUNIT_TEST_SUITE(AlgTest)
CPPUNIT_TEST(find_first_of_test)
CPPUNIT_TEST(search_n_test)
void push_back(const value_type &__t=_STLP_DEFAULT_CONSTRUCTED(_Tp))
_STLP_PRIV _List_iterator< _Tp, _Nonconst_traits< _Tp > > iterator
_Rep_type::iterator iterator
_STLP_PRIV _Slist_iterator< _Tp, _Nonconst_traits< _Tp > > iterator
void push_front(const value_type &__x=_Tp())
#define CPPUNIT_TEST_SUITE_REGISTRATION(X)
#define CPPUNIT_ASSERT(X)
GLuint GLuint GLsizei count
GLboolean GLenum GLenum GLvoid * values
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static const struct encodedInt ints[]
bool operator==(const MyIntComparable &other) const
bool operator()(const Pair &p, const string &value) const