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