Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibreSprite/LibreSprite
/ TEST
Function
TEST
src/base/shared_ptr_tests.cpp:13–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
using namespace base;
12
13
TEST(SharedPtr, IntPtr)
14
{
15
SharedPtr<int> a(new int(5));
16
EXPECT_EQ(5, *a);
17
}
18
19
TEST(SharedPtr, UseCount)
20
{
Callers
nothing calls this directly
Calls
4
CustomDeleter
Class · 0.85
unique
Method · 0.80
use_count
Method · 0.45
reset
Method · 0.45
Tested by
no test coverage detected