Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ TestTrulePtr
Method
TestTrulePtr
util/generic/ptr_ut.cpp:248–256 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
246
}
247
248
void TPointerTest::TestTrulePtr() {
249
{
250
TAutoPtr<A> a1(MakeA());
251
TAutoPtr<A> a2(a1);
252
a1 = a2;
253
}
254
255
UNIT_ASSERT_VALUES_EQUAL(cnt, 0);
256
}
257
258
void TPointerTest::TestAutoToHolder() {
259
{
Callers
nothing calls this directly
Calls
1
MakeA
Function · 0.85
Tested by
no test coverage detected