Prev | Next | test_boolofvoid |
# include <cppad/utility/test_boolofvoid.hpp>
test_boolofvoid Run(group, width)
Run(test, name)
ok = Run.summary(memory_ok)
Run
is used to run a group of tests functions
and report the results on standard output.
const std::string& group
It is the name for this group of tests.
size_t width
It is the number of columns used to display the name of each test.
It must be greater than the maximum number of characters in a test name.
bool test(void)
It is a function that returns true (when the test passes) and false
otherwise.
const std::string& name
It is the name for the corresponding
test
.
bool memory_ok
It is false if a memory leak is detected (and true otherwise).
example/ipopt_solve.cpp
.