![]() |
DAS
3.0
Das Analysis System
|
#include <unistd.h>#include <boost/test/included/unit_test.hpp>#include <exceptions.h>
Include dependency graph for Exceptions.cc:Macros | |
| #define | BOOST_TEST_MODULE Exceptions |
Functions | |
| void | WriteN (int N, bool flush) |
| WriteN (1, false) | |
| BOOST_TEST (intercept_printf([] { WriteN(1, true);})=="*") | |
| #define BOOST_TEST_MODULE Exceptions |
| BOOST_TEST | ( | intercept_printf([] { WriteN(1, true);}) | = ="*" | ) |
| WriteN | ( | 1 | , |
| false | |||
| ) |
Tests intercept_printf.