mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
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)
d8a3ffedba
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. |
||
---|---|---|
include | ||
projects | ||
single_include | ||
.gitignore | ||
glueHeaders.py | ||
LICENSE_1_0.txt | ||
README |
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.