MCPcopy Create free account
hub / github.com/BowenFu/matchit.cpp / TEST

Function TEST

test/matchit/app.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 Base &>);
28
29TEST(App, someAs)
30{
31 auto const x = std::unique_ptr<Base>{new Derived};
32 EXPECT_TRUE(matched(x, some(as<Derived>(_))));
33}

Callers

nothing calls this directly

Calls 1

matchedFunction · 0.50

Tested by

no test coverage detected