| 1 |
|
| 2 |
// Copyright Catch2 Authors |
| 3 |
// Distributed under the Boost Software License, Version 1.0. |
| 4 |
// (See accompanying file LICENSE.txt or copy at |
| 5 |
// https://www.boost.org/LICENSE_1_0.txt) |
| 6 |
|
| 7 |
// SPDX-License-Identifier: BSL-1.0 |
| 8 |
|
| 9 |
#include <catch2/catch_test_macros.hpp> |
| 10 |
|
| 11 |
|
| 12 |
TEST_CASE() |
| 13 |
{ |
| 14 |
SUCCEED( "anonymous test case" ); |
| 15 |
} |
| 16 |
|
| 17 |
TEST_CASE( "Test case with one argument" ) |
| 18 |
{ |
| 19 |
SUCCEED( "no assertions" ); |
| 20 |
} |
| 21 |
|
| 22 |
TEST_CASE( "Variadic macros", "[variadic][sections]" ) |
| 23 |
{ |
| 24 |
SECTION( "Section with one argument" ) |
| 25 |
{ |
| 26 |
SUCCEED( "no assertions" ); |
| 27 |
} |
| 28 |
} |
| 29 |
|