blob: af9f99f4d6eb63c462a7df181454472336e27a4e [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);
hardlyb1e7e142014-08-06 00:43:51 +030017 context.addFilter("dt-name", "zzz");
18
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}