#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) |
Test TestList::append | ( | ) | [inline] |
References wibble::list::append(), assert, assert_eq, and wibble::list::singular().
Test TestList::appendCount | ( | ) | [inline] |
References wibble::list::append(), assert_eq, and wibble::list::count().
void TestList::checkListSorted | ( | List | l | ) | [inline] |
References assert.
void TestList::checkOddList | ( | List | l | ) | [inline] |
Test TestList::count | ( | ) | [inline] |
References assert_eq, and wibble::list::count().
Test TestList::filtered | ( | ) | [inline] |
References assert_eq, wibble::list::count(), and wibble::list::filter().
static int TestList::mul2add1 | ( | int | a | ) | [inline, static] |
static bool TestList::odd | ( | int | i | ) | [inline, static] |
Test TestList::single | ( | ) | [inline] |
References assert, assert_eq, and wibble::list::singular().
Test TestList::sorted | ( | ) | [inline] |
References assert_eq, wibble::list::count(), and wibble::list::sort().
Test TestList::stl | ( | ) | [inline] |
References assert_eq, wibble::list::begin(), and wibble::list::end().
Test TestList::unique | ( | ) | [inline] |
References assert_eq, wibble::list::count(), and wibble::list::unique().