MCPcopy Create free account
hub / github.com/catchorg/Catch2 / MatcherC

Class MatcherC

tests/SelfTest/UsageTests/Matchers.tests.cpp:901–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

899};
900
901struct MatcherC : Catch::Matchers::MatcherGenericBase {
902 std::string describe() const override { return "equals: (T) 1"; }
903 template <typename T> bool match( T t ) const { return t == T{ 1 }; }
904};
905
906struct MatcherD : Catch::Matchers::MatcherGenericBase {
907 std::string describe() const override { return "equals: true"; }

Callers 1

Matchers.tests.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected