VariadicMacros.tests.cpp 574 B

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