Lines Matching refs:test_alloc
44 class test_alloc { class
55 test_alloc(int value_) : value(value_) in test_alloc() function in __anonf62fb8590111::test_alloc
87 size_t test_alloc::instances = 0;
183 ATF_REQUIRE_EQ(0, test_alloc::instances); in ATF_TEST_CASE_BODY()
185 optional< test_alloc > optional1(test_alloc(3)); in ATF_TEST_CASE_BODY()
186 ATF_REQUIRE_EQ(1, test_alloc::instances); in ATF_TEST_CASE_BODY()
190 optional< test_alloc > optional2(optional1); in ATF_TEST_CASE_BODY()
191 ATF_REQUIRE_EQ(2, test_alloc::instances); in ATF_TEST_CASE_BODY()
195 ATF_REQUIRE_EQ(2, test_alloc::instances); in ATF_TEST_CASE_BODY()
199 ATF_REQUIRE_EQ(1, test_alloc::instances); in ATF_TEST_CASE_BODY()
202 ATF_REQUIRE_EQ(0, test_alloc::instances); in ATF_TEST_CASE_BODY()