wibble 1.1
Classes | Public Member Functions | Static Public Member Functions | List of all members
TestList Struct Reference

#include <list.test.h>

Classes

struct  My
 
struct  My2
 

Public Member Functions

template<typename List >
void checkOddList (List l)
 
template<typename List >
void checkListSorted (List l)
 
Test count ()
 
Test filtered ()
 
Test sorted ()
 
Test unique ()
 
Test stl ()
 
Test empty ()
 
Test single ()
 
Test append ()
 
Test appendCount ()
 

Static Public Member Functions

static bool odd (int i)
 
static int mul2add1 (int a)
 

Member Function Documentation

◆ append()

Test TestList::append ( )
inline

◆ appendCount()

Test TestList::appendCount ( )
inline

◆ checkListSorted()

template<typename List >
void TestList::checkListSorted ( List  l)
inline

References assert.

Referenced by sorted().

◆ checkOddList()

template<typename List >
void TestList::checkOddList ( List  l)
inline

References assert, assert_eq, and odd().

Referenced by filtered().

◆ count()

Test TestList::count ( )
inline

References assert_eq, and wibble::list::count().

◆ empty()

Test TestList::empty ( )
inline

References assert, and empty().

Referenced by append(), empty(), and single().

◆ filtered()

Test TestList::filtered ( )
inline

◆ mul2add1()

static int TestList::mul2add1 ( int  a)
inlinestatic

◆ odd()

static bool TestList::odd ( int  i)
inlinestatic

Referenced by checkOddList(), and filtered().

◆ single()

Test TestList::single ( )
inline

◆ sorted()

Test TestList::sorted ( )
inline

◆ stl()

Test TestList::stl ( )
inline

◆ unique()

Test TestList::unique ( )
inline

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