Utopia
2
Framework for studying models of complex & adaptive systems.
|
#include <string>
#include <functional>
#include <string_view>
#include <type_traits>
#include <boost/test/unit_test.hpp>
#include <boost/core/demangle.hpp>
#include "../exceptions.hh"
#include "utils.hh"
Go to the source code of this file.
Namespaces | |
Utopia | |
Utopia::TestTools | |
Functions | |
template<typename ExcT , typename Callable = std::function<void()>> | |
void | Utopia::TestTools::check_exception (Callable &&func, const std::string_view match="", const LocationInfo loc={}) |
Checks if a callable throws with the expected error type and message. More... | |