Text formatting rework
Rewrote main wrapping loop. Now uses iterators instead of indices and intermediate strings.
Differentiates between chars to wrap before, after or instead of.
Doesn’t preserve trailing newlines.
Wraps or more characters.
Dropped support for using tab character as an indent setting control char.
Hopefully avoids all the undefined behaviour and other bugs of the previous implementation.
6 files changed
tree: e343894ea88a5fc74d7c89d44457ca58e2a6522b
  1. docs/
  2. include/
  3. projects/
  4. scripts/
  5. single_include/
  6. .gitattributes
  7. .gitignore
  8. .travis.yml
  9. catch-logo-small.png
  10. catch-logo-tiny.png
  11. CMakeLists.txt
  12. LICENSE_1_0.txt
  13. README.md
README.md

catch logo

v1.6.1

Build status (on Travis CI) 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