MCPcopy 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

11using namespace base;
12
13TEST(SharedPtr, IntPtr)
14{
15 SharedPtr<int> a(new int(5));
16 EXPECT_EQ(5, *a);
17}
18
19TEST(SharedPtr, UseCount)
20{

Callers

nothing calls this directly

Calls 4

CustomDeleterClass · 0.85
uniqueMethod · 0.80
use_countMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected