Most of Assertion macros are now variadic

This means that `REQUIRE(std::vector<int>{1, 2} == std::vector<int>{1,
2});` works as expected.

Note that assertion macros taking more than 1 argument are currently not
variadic, because variadic args have to come last, which would make the
interface of these ugly: `REQUIRE_THROWS_AS(std::exception const&, ....
)`
1 file changed
tree: 169a1ee34060daf70e3c81605aa079f3b2232249
  1. .github/
  2. contrib/
  3. docs/
  4. include/
  5. projects/
  6. scripts/
  7. .gitattributes
  8. .gitignore
  9. .travis.yml
  10. appveyor.yml
  11. catch-hand-icon.png
  12. catch-icon-tiny.png
  13. catch-logo-small.png
  14. CMakeLists.txt
  15. LICENSE.txt
  16. README.md
README.md

catch logo

Github Releases Build Status Build status

The latest, single header, version can be downloaded directly using this link

What's the Catch?

Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.

How to use it

This documentation comprises these three parts:

More