|
wibble
0.1.28
|
#include <string>#include <sstream>#include <wibble/tests/tut.h>#include <wibble/tests/tut_reporter.h>

Go to the source code of this file.
Classes | |
| class | wibble::tests::Location |
Namespaces | |
| wibble | |
| wibble::tests | |
Constant Groups | |
| wibble | |
| wibble::tests | |
Macros | |
| #define | TESTGRP(name) |
| #define | ensure(x) wibble::tests::impl_ensure(wibble::tests::Location(__FILE__, __LINE__, #x), (x)) |
| #define | inner_ensure(x) wibble::tests::impl_ensure(wibble::tests::Location(loc, __FILE__, __LINE__, #x), (x)) |
| #define | ensure_equals(x, y) wibble::tests::impl_ensure_equals(wibble::tests::Location(__FILE__, __LINE__, #x " == " #y), (x), (y)) |
| #define | inner_ensure_equals(x, y) wibble::tests::impl_ensure_equals(wibble::tests::Location(loc, __FILE__, __LINE__, #x " == " #y), (x), (y)) |
| #define | ensure_similar(x, y, prec) wibble::tests::impl_ensure_similar(wibble::tests::Location(__FILE__, __LINE__, #x " == " #y), (x), (y), (prec)) |
| #define | inner_ensure_similar(x, y, prec) wibble::tests::impl_ensure_similar(wibble::tests::Location(loc, __FILE__, __LINE__, #x " == " #y), (x), (y), (prec)) |
Functions | |
| void | wibble::tests::impl_ensure (const Location &loc, bool res) |
| template<class Actual , class Expected > | |
| void | wibble::tests::impl_ensure_equals (const Location &loc, const Actual &actual, const Expected &expected) |
| template<class Actual , class Expected , class Precision > | |
| void | wibble::tests::impl_ensure_similar (const Location &loc, const Actual &actual, const Expected &expected, const Precision &precision) |
| #define ensure | ( | x) | wibble::tests::impl_ensure(wibble::tests::Location(__FILE__, __LINE__, #x), (x)) |
| #define ensure_equals | ( | x, | |
| y | |||
| ) | wibble::tests::impl_ensure_equals(wibble::tests::Location(__FILE__, __LINE__, #x " == " #y), (x), (y)) |
| #define ensure_similar | ( | x, | |
| y, | |||
| prec | |||
| ) | wibble::tests::impl_ensure_similar(wibble::tests::Location(__FILE__, __LINE__, #x " == " #y), (x), (y), (prec)) |
| #define inner_ensure | ( | x) | wibble::tests::impl_ensure(wibble::tests::Location(loc, __FILE__, __LINE__, #x), (x)) |
| #define inner_ensure_equals | ( | x, | |
| y | |||
| ) | wibble::tests::impl_ensure_equals(wibble::tests::Location(loc, __FILE__, __LINE__, #x " == " #y), (x), (y)) |
| #define inner_ensure_similar | ( | x, | |
| y, | |||
| prec | |||
| ) | wibble::tests::impl_ensure_similar(wibble::tests::Location(loc, __FILE__, __LINE__, #x " == " #y), (x), (y), (prec)) |
| #define TESTGRP | ( | name) |
1.8.4