#include <list.test.h>
Public Member Functions | |
| template<typename List> | |
| void | checkOddList (List l) |
| template<typename List> | |
| void | checkListSorted (List l) |
| Test | count () |
| Test | filtered () |
| Test | sorted () |
| Test | take () |
| Test | unique () |
| Test | stl () |
| Test | map () |
| Test | empty () |
| Test | single () |
| Test | append () |
| Test | appendCount () |
Static Public Member Functions | |
| static bool | odd (int i) |
| static int | mul2add1 (int a) |
Classes | |
| struct | My |
| struct | My2 |
| static bool TestList::odd | ( | int | i | ) | [inline, static] |
Referenced by checkOddList(), and filtered().
| void TestList::checkOddList | ( | List | l | ) | [inline] |
| void TestList::checkListSorted | ( | List | l | ) | [inline] |
| 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().
| Test TestList::sorted | ( | ) | [inline] |
References assert_eq, checkListSorted(), wibble::list::count(), and wibble::list::sort().
| Test TestList::take | ( | ) | [inline] |
References assert_eq, wibble::list::count(), and wibble::list::take().
| Test TestList::unique | ( | ) | [inline] |
References assert_eq, wibble::list::count(), and wibble::list::unique().
| Test TestList::stl | ( | ) | [inline] |
References assert_eq, wibble::list::begin(), and wibble::list::end().
| static int TestList::mul2add1 | ( | int | a | ) | [inline, static] |
Referenced by map().
| Test TestList::map | ( | ) | [inline] |
References checkOddList(), wibble::list::map(), and mul2add1().
| Test TestList::single | ( | ) | [inline] |
References assert, assert_eq, empty(), and wibble::list::singular().
| 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().
1.5.6