blob: fdf656981cac992e87496c0ad43decbb4c04eaf7 [file] [log] [blame]
onqtam862a3bb2016-04-27 18:19:00 +03001//#define DOCTEST_CONFIG_DISABLE
hardlyb1e7e142014-08-06 00:43:51 +03002
onqtamcf9812f2016-04-19 23:54:34 +03003//#include "doctest.h"
onqtam862a3bb2016-04-27 18:19:00 +03004#define DOCTEST_CONFIG_IMPLEMENT
hardlyb1e7e142014-08-06 00:43:51 +03005#include "doctest.h"
6
7#include <cstdio>
hardlyb1e7e142014-08-06 00:43:51 +03008
9int main(int argc, char** argv) {
10 // initialize
11 doctest::Context context(argc, argv);
hardlyb1e7e142014-08-06 00:43:51 +030012
13 // overrides
14 context.setOption("dt-case-sensitive", true);
onqtam862a3bb2016-04-27 18:19:00 +030015 context.setOption("no-breaks", true);
onqtam0cea9bc2016-04-27 12:59:08 +030016 //context.setOption("dt-no-colors", true);
onqtam80d1f182016-04-27 19:08:51 +030017 context.addFilter("name", "zzz");
hardlyb1e7e142014-08-06 00:43:51 +030018
19 // run
20 int res = context.runTests();
21
22#if defined(WITH_PAUSE)
23 system("pause");
onqtam8ccce3b2016-04-20 20:46:05 +030024#endif // WITH_PAUSE
hardlyb1e7e142014-08-06 00:43:51 +030025
26 return res;
27}