blob: 38429fb93dc0e3f7525317ae11401dfa8ff47f8f [file] [log] [blame]
//#define DOCTEST_CONFIG_DISABLE
#include "doctest.h"
#define DOCTEST_CONFIG_IMPLEMENT
#include "doctest.h"
#include <cstdio>
#include <cstdlib>
int main(int argc, char** argv) {
// initialize
doctest::Context context(argc, argv);
// overrides
context.setOption("dt-case-sensitive", true);
context.setOption("no-breaks", true);
//context.setOption("no-throw", true);
//context.setOption("dt-no-colors", true);
context.addFilter("name", "zzz");
context.setOption("abort-after", 1);
//context.addFilter("suite", "randomness");
//context.setOption("sort", "rand");
//context.setOption("rand-seed", 435);
// run
int res = context.run();
if(context.shouldExit())
return res;
#if defined(WITH_PAUSE)
system("pause");
#endif // WITH_PAUSE
return res;
}