blob: e0dd7c8688d93995dbe785a45ee30122a076c19c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "cute/cute.h"
#include "cute/cute_runner.h"
#include "cute/tap_listener.h"
#include <algorithm>
#include <iostream>
#include <iterator>
#include <string>
#include <utility>
#include <vector>
namespace wanda::test
{
std::pair<cute::suite, std::string> suite();
}
int main(int argc, char const *const *argv)
{
auto listener = cute::tap_listener<>{std::cout};
auto runner = cute::makeRunner(listener, argc, argv);
auto suite = wanda::test::suite();
return !runner(suite.first, suite.second.c_str());
}
|