#include "mimic++/matchers/Common.hpp"
#include "mimic++/policies/ArgumentList.hpp"
#include <concepts>
#include <functional>
#include <tuple>
#include <type_traits>
#include <utility>
Go to the source code of this file.
|
template<std::size_t index, typename Matcher, typename Projection = std::identity> |
constexpr auto | mimicpp::expect::arg (Matcher &&matcher, Projection &&projection={}) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Matcher >, Matcher > &&std::is_nothrow_constructible_v< std::remove_cvref_t< Projection >, Projection >) |
| Checks whether the selected argument satisfies the given matcher.
|
|
template<std::size_t first, std::size_t... others, typename Matcher, typename... Projections> |
constexpr auto | mimicpp::expect::args (Matcher &&matcher, Projections &&... projections) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Matcher >, Matcher > &&(... &&std::is_nothrow_move_constructible_v< std::remove_cvref_t< Projections > >)) |
| Checks whether the selected arguments satisfy the given matcher.
|
|
template<typename Matcher> |
constexpr auto | mimicpp::expect::all_args (Matcher &&matcher) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Matcher >, Matcher >) |
| Checks whether the all arguments satisfy the given matcher.
|
|