Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4
using namespace matchit;
5
6
TEST(Id, matchValue)
7
{
8
Id<int32_t> x;
9
x.matchValue(1);
10
EXPECT_EQ(*x, 1);
11
}
12
13
TEST(Id, resetId)
14
{
Callers
nothing calls this directly
Calls
11
app
Function · 0.85
or_
Function · 0.85
match
Function · 0.50
not_
Function · 0.50
expr
Function · 0.50
and_
Function · 0.50
ds
Function · 0.50
matchValue
Method · 0.45
reset
Method · 0.45
hasValue
Method · 0.45
at
Method · 0.45
Tested by
no test coverage detected