ReactOS  0.4.15-dev-2956-g61e7ea5
test_slist_sort Struct Reference

Public Member Functions

 test_slist_sort ()
 
void operator() (TestSList &slist) const
 

Detailed Description

Definition at line 42 of file test_slist.cpp.

Constructor & Destructor Documentation

◆ test_slist_sort()

test_slist_sort::test_slist_sort ( )
inline

Definition at line 43 of file test_slist.cpp.

43  {
44  gTestController.SetCurrentTestName("slist::sort()");
45  }
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172

Member Function Documentation

◆ operator()()

void test_slist_sort::operator() ( TestSList slist) const
inline

Definition at line 46 of file test_slist.cpp.

46  {
47  slist.sort();
48  for ( TestSList::iterator p = slist.begin(), q; p != slist.end(); q = p, p++ )
49  if ( p != slist.begin() ) {
50  EH_ASSERT( *p >= *q );
51  }
52  }
Definition: _slist.h:198
iterator begin()
Definition: _slist.h:416
void sort()
Definition: _slist.h:790
GLdouble GLdouble GLdouble GLdouble q
Definition: gl.h:2063
#define EH_ASSERT
Definition: Prefix.h:37
WDF_CHILD_LIST_ITERATOR iterator
iterator end()
Definition: _slist.h:420
GLfloat GLfloat p
Definition: glext.h:8902

The documentation for this struct was generated from the following file: