blob: dfd87cc19272876b239b9a766c698186dfb41379 [file] [log] [blame]
onqtam4984dd72016-03-20 23:32:15 +02001#define DOCTEST_DISABLE
hardlyb1e7e142014-08-06 00:43:51 +03002
onqtam4984dd72016-03-20 23:32:15 +02003#define DOCTEST_IMPLEMENT_WITH_MAIN
hardlyb1e7e142014-08-06 00:43:51 +03004#include "doctest.h"
5
6#include <cstdio>
7
onqtamff2a7802016-03-22 16:03:22 +02008testcase("name1") {
hardlyb1e7e142014-08-06 00:43:51 +03009 printf("Anyone there?\n");
10}
11
onqtamff2a7802016-03-22 16:03:22 +020012testsuite(the testsuite!);
hardlyb1e7e142014-08-06 00:43:51 +030013
onqtamff2a7802016-03-22 16:03:22 +020014testcase(ops) {
hardlyb1e7e142014-08-06 00:43:51 +030015 printf("Anyone there?\n");
16}
17
onqtamff2a7802016-03-22 16:03:22 +020018testsuite_end;
hardlyb1e7e142014-08-06 00:43:51 +030019
onqtam44cde122016-03-19 14:32:12 +020020#if defined(__GNUC__) && !defined(__clang__)
21#pragma GCC diagnostic ignored "-Weffc++"
22#endif
23
onqtam6b7eb052016-03-18 12:43:55 +020024struct Empty
25{};
hardlyb1e7e142014-08-06 00:43:51 +030026
onqtamff2a7802016-03-22 16:03:22 +020027testcase_fixture(Empty, "name") {
hardlyb1e7e142014-08-06 00:43:51 +030028 printf("Help?\n");
29}
30
onqtamff2a7802016-03-22 16:03:22 +020031testcase_fixture(Empty, ops) {
hardlyb1e7e142014-08-06 00:43:51 +030032 printf("Help?\n");
33}