blob: be6af7245296b8d97f07dfc94eb2b061e31b6e04 [file] [log] [blame]
onqtam4984dd72016-03-20 23:32:15 +02001//#define DOCTEST_DISABLE
hardlyb1e7e142014-08-06 00:43:51 +03002
onqtamcf9812f2016-04-19 23:54:34 +03003//#include "doctest.h"
onqtam4984dd72016-03-20 23:32:15 +02004#define DOCTEST_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);
15 context.addFilter("dt-name", "zzz");
16
17 // run
18 int res = context.runTests();
19
20#if defined(WITH_PAUSE)
21 system("pause");
onqtam8ccce3b2016-04-20 20:46:05 +030022#endif // WITH_PAUSE
hardlyb1e7e142014-08-06 00:43:51 +030023
24 return res;
25}