MCPcopy 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
248void 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
258void TPointerTest::TestAutoToHolder() {
259 {

Callers

nothing calls this directly

Calls 1

MakeAFunction · 0.85

Tested by

no test coverage detected