|
template<std::size_t index, typename Matcher, typename Projection = std::identity> |
constexpr auto | 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 | 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 | 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.
|
|
constexpr auto | times (const int min, const int max) |
| Specifies a times policy with a limit range.
|
|
constexpr auto | times (const int exactly) |
| Specifies a times policy with an exact limit.
|
|
constexpr auto | at_least (const int min) |
| Specifies a times policy with just a lower limit.
|
|
constexpr auto | at_most (const int max) |
| Specifies a times policy with just an upper limit.
|
|
consteval auto | never () noexcept |
| Specifies a times policy with both limits set to 0.
|
|
consteval auto | once () noexcept |
| Specifies a times policy with both limits set to 1.
|
|
consteval auto | twice () noexcept |
| Specifies a times policy with both limits set to 2.
|
|
template<typename Id, auto priorityStrategy> |
constexpr auto | in_sequence (sequence::detail::BasicSequenceInterface< Id, priorityStrategy > &sequence) noexcept |
| Attaches the expectation onto a sequence.
|
|
template<typename FirstId, auto firstPriorityStrategy, typename SecondId, auto secondPriorityStrategy, typename... OtherIds, auto... otherPriorityStrategies> |
constexpr auto | in_sequences (sequence::detail::BasicSequenceInterface< FirstId, firstPriorityStrategy > &firstSequence, sequence::detail::BasicSequenceInterface< SecondId, secondPriorityStrategy > &secondSequence, sequence::detail::BasicSequenceInterface< OtherIds, otherPriorityStrategies > &... otherSequences) |
| Attaches the expectation onto the listed sequences.
|
|