Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
definition of some widely used test helper functions.
Definition in file test-helper.cpp.
#include "lib/test/test-helper.hpp"
#include "lib/test/testdummy.hpp"
#include "lib/format-string.hpp"
#include "lib/format-cout.hpp"
#include "lib/unique-malloc-owner.hpp"
#include <string>
Functions | |
string | randStr (size_t len) |
create garbage string of given length More... | |
string | showSizeof (size_t siz, string name) |
for printing sizeof(). More... | |
Namespaces | |
lib | |
Implementation namespace for support and library code. | |
string showSizeof | ( | size_t | siz, |
string | name | ||
) |
for printing sizeof().
prints the given size and name literally, without any further magic
Definition at line 57 of file test-helper.cpp.
References lib::test::showSizeof().
Referenced by TestHelper_test::checkTypeDisplay(), and lib::test::showSizeof().
string randStr | ( | size_t | len | ) |
create garbage string of given length
Anyone...?
Definition at line 69 of file test-helper.cpp.
References lib::test::randStr().
Referenced by TestHelper_test::checkTypeDisplay(), TestSource::nextResult(), and lib::test::randStr().