Konstantin Baumann d8a3ffedba enhanced support for nullptr
these fixes enhance the support for C++11 nullptr/std::nullptr_t; now
you can write something like this:
std::exception_ptr ex;
CATCH_REQUIRE(ex == nullptr);
and
std::unique_ptr<int> ptr;
CATCH_REQUIRE(ptr.get() == nullptr);

The issue with the const_cast<T&> is that you cannot cast a
std::nullptr_t to a non-const-ref.
2013-01-31 10:50:04 +01:00
2013-01-31 10:50:04 +01:00
2012-05-23 23:55:32 +01:00
2010-11-09 23:24:00 +00:00
2012-12-14 07:55:47 +00:00

CATCH is an automated test framework for C, C++ and Objective-C.

The latest stable version can be found as a single header in the Downloads section.
(The Downloads section is now deprecated on GitHub. Until I move this somewhere else for CATCH it can still be reached here: https://github.com/philsquared/Catch/downloads)

For documentation see the wiki at: https://github.com/philsquared/Catch/wiki

Maintainers: Please now work off the Integration branch and target any pull requests there.
Description
A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
Readme 65 MiB
Languages
C++ 90.2%
CMake 5.4%
Python 3.2%
Meson 0.7%
Starlark 0.3%