blob: ae74047eb771632a44662ccf070c62e60dc74246 [file] [log] [blame]
Stefan8f63ba42021-12-09 16:01:47 +01001#include <doctest/doctest.h>
2
3TEST_CASE("no checks") {}
4
5TEST_CASE("simple check") {
6 CHECK(1 == 1);
7}
8
9TEST_SUITE("some suite") {
10 TEST_CASE("fails - and its allowed" * doctest::may_fail()) { FAIL(""); }
11}
12
13TEST_CASE("should fail and no output" * doctest::should_fail() * doctest::no_breaks() * doctest::no_output()) { FAIL(""); }