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

Function TEST

test/matchit/id.cpp:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4using namespace matchit;
5
6TEST(Id, matchValue)
7{
8 Id<int32_t> x;
9 x.matchValue(1);
10 EXPECT_EQ(*x, 1);
11}
12
13TEST(Id, resetId)
14{

Callers

nothing calls this directly

Calls 11

appFunction · 0.85
or_Function · 0.85
matchFunction · 0.50
not_Function · 0.50
exprFunction · 0.50
and_Function · 0.50
dsFunction · 0.50
matchValueMethod · 0.45
resetMethod · 0.45
hasValueMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected