#include #include "nondestroying_holder.h" Y_UNIT_TEST_SUITE(TNonDestroyingHolder) { Y_UNIT_TEST(ToAutoPtr) { TNonDestroyingHolder h(new int(11)); TAutoPtr i(h); UNIT_ASSERT_VALUES_EQUAL(11, *i); UNIT_ASSERT(!h); } }