| 36 | constexpr MatchAllMatcher MatchAll() { return MatchAllMatcher(); } |
| 37 | |
| 38 | struct MatchTrueMatcher final : public Catch::Matchers::MatcherGenericBase { |
| 39 | public: |
| 40 | constexpr bool match( bool b ) const { |
| 41 | return b; |
| 42 | } |
| 43 | |
| 44 | std::string describe() const override { |
| 45 | using namespace std::string_literals; |
| 46 | return "Matches true"s; |
| 47 | } |
| 48 | }; |
| 49 | |
| 50 | constexpr MatchTrueMatcher MatchTrue() { return MatchTrueMatcher(); } |
| 51 |