20#if defined (EH_NEW_HEADERS)
28#if defined (EH_NEW_IOSTREAMS)
96 SortClass*
d = EH_STD::stable_partition(
buf.begin(),
buf.end(), throw_cmp );
110 counts[
q->value() ]++;
117 if (
p !=
buf.begin() &&
p->value() ==
p[-1].value() ) {
125 counts[
p->value() ]--;
156 counts[
q->value() ]++;
162 if (
p !=
buf.begin() ) {
164 ||
p->value() ==
p[-1].value() &&
p->GetAddress() >
p[-1].GetAddress() );
167 counts[
p->value() ]--;
188 EH_STD::stable_sort(
buf.begin(),
buf.end() );
205 EH_STD::stable_sort(
buf.begin(),
buf.end(), EH_STD::less<SortClass>() );
222 EH_STD::inplace_merge(
buf.begin(),
buf.begin() + (
buf.end() -
buf.begin() )/2,
buf.end() );
239 EH_STD::inplace_merge(
buf.begin(),
buf.begin() + (
buf.end() -
buf.begin() )/2,
buf.end(),
240 EH_STD::less<SortClass>() );
253 EH_STD::cerr<<
"EH test : testing algo.h"<<EH_STD::endl;
void WeakCheck(const Value &v, const Operation &op, long max_iters=2000000)
GLint GLint GLint GLint GLint x
GLdouble GLdouble GLdouble GLdouble q
GLenum GLuint GLenum GLsizei const GLchar * buf
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 GLint GLint j
#define cmp(status, error)
TestController gTestController
const SortClass * begin() const
const SortClass * end() const
SortClass items[kBufferSize]
SortBuffer(const SortBuffer &rhs)
static void SetCurrentTestName(const char *str)
static void CancelFailureCountdown()
less_by_reference(const T &arg)
bool operator()(const T &x) const
test_inplace_merge_1(SortBuffer &buf)
void operator()(SortBuffer &buf) const
test_inplace_merge_2(SortBuffer &buf)
void operator()(SortBuffer &buf) const
void operator()(SortBuffer &buf) const
test_stable_partition(const SortBuffer &buf)
void operator()(SortBuffer &buf) const
test_stable_sort_1(const SortBuffer &buf)
void operator()(SortBuffer &buf) const
test_stable_sort_2(const SortBuffer &buf)
void assert_sorted_version(const SortBuffer &orig, const SortBuffer &buf)