Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ TEST
Function
TEST
base/unordered_test.cpp:11–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9
#include
"thirdparty/gtest/gtest.h"
10
11
TEST(Unordered, Set) {
12
std::unordered_set<int> us;
13
us.insert(1);
14
EXPECT_NE(us.end(), us.find(1));
15
}
16
17
TEST(Unordered, Map) {
18
std::unordered_map<int, int> um;
Callers
nothing calls this directly
Calls
2
find
Method · 0.80
end
Method · 0.45
Tested by
no test coverage detected