tut main for startig all tests
#include <tut/tut.hpp>
#include <tut/tut_console_reporter.hpp>
#include <tut/tut_main.hpp>
#include <iostream>
namespace tut
{
test_runner_singleton runner;
}
int main(int argc, const char* argv[])
{
try
{
{
{
return 0;
}
else
{
std::cerr << "\nFAILURE and EXCEPTION in these tests are FAKE ;)" << std::endl;
}
}
}
{
std::cerr <<
"No such group: " << ex.
what() << std::endl;
}
{
std::cerr << "No such test: " << ex.what() << std::endl;
}
{
std::cout << "General error: " << ex.what() << std::endl;
}
return 0;
}