diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2022-09-16 21:36:12 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2022-09-16 21:36:12 +0200 |
| commit | 64922e213ac731279cf3341253e67509adb2dfc8 (patch) | |
| tree | ddcf4fd5b05ac426ecf032e43e8662c2f9ce0f57 /source/tests/wanda/driver.cpp | |
| parent | d22bc7b557d36da41fe88d3188a7cd335c3ccaa0 (diff) | |
| download | wanda-64922e213ac731279cf3341253e67509adb2dfc8.tar.xz wanda-64922e213ac731279cf3341253e67509adb2dfc8.zip | |
wanda: restructure source directory
Diffstat (limited to 'source/tests/wanda/driver.cpp')
| -rw-r--r-- | source/tests/wanda/driver.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/source/tests/wanda/driver.cpp b/source/tests/wanda/driver.cpp new file mode 100644 index 0000000..e0dd7c8 --- /dev/null +++ b/source/tests/wanda/driver.cpp @@ -0,0 +1,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()); +}
\ No newline at end of file |
