Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ TEST
Function
TEST
base/unique_ptr_test.cpp:59–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
}
58
59
TEST(UniqueArrayTest, Dereference) {
60
std::unique_ptr<int[]> p(new int[2]());
61
ASSERT_EQ(0, p[0]);
62
ASSERT_EQ(0, p[1]);
63
}
64
65
} // namespace toft
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected