|
kaycxx-test
C++ unit test framework
|
Defines the assert_not_null function. More...
#include <optional>#include <source_location>#include <string_view>#include <kaycxx/test/assertion_error.hpp>#include <kaycxx/test/detail/nullable.hpp>

Go to the source code of this file.
Namespaces | |
| namespace | kaycxx |
| Root namespace for kaycxx libraries. | |
| namespace | kaycxx::test |
| Unit test framework functions and types. | |
Functions | |
| template<detail::nullable T> | |
| void | kaycxx::test::assert_not_null (T const &actual, std::string_view reason={}, std::optional< std::source_location > location=std::source_location::current()) |
| Asserts that the argument is not null. | |
Defines the assert_not_null function.