ReactOS  0.4.15-dev-5112-g22d8c0f
test_list_sort Struct Reference

Public Member Functions

 test_list_sort ()
 
void operator() (TestList &list) const
 

Detailed Description

Definition at line 42 of file test_list.cpp.

Constructor & Destructor Documentation

◆ test_list_sort()

test_list_sort::test_list_sort ( )
inline

Definition at line 44 of file test_list.cpp.

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

Member Function Documentation

◆ operator()()

void test_list_sort::operator() ( TestList list) const
inline

Definition at line 49 of file test_list.cpp.

50  {
51  list.sort();
52 
54 
55  for ( TestList::iterator p = list.begin(); p != list.end(); p++ )
56  if ( p != list.begin() ) {
58  --tmp;
59  EH_ASSERT( *p >= *tmp );
60  }
61  }
iterator begin()
Definition: _list.h:367
TestController gTestController
Definition: nc_alloc.cpp:46
void sort()
Definition: _list.h:660
#define EH_ASSERT
Definition: Prefix.h:37
Definition: _list.h:228
WDF_CHILD_LIST_ITERATOR iterator
iterator end()
Definition: _list.h:370
static void CancelFailureCountdown()
Definition: nc_alloc.h:143
GLfloat GLfloat p
Definition: glext.h:8902

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