File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -268,25 +268,6 @@ BOOST_AUTO_TEST_CASE(map__truncate__unloaded__false)
268268 BOOST_REQUIRE (!instance.get_fault ());
269269}
270270
271- // Truncate is no longer capacty based.
272- // //BOOST_AUTO_TEST_CASE(map__truncate__loaded__expected)
273- // //{
274- // // constexpr auto size = 42u;
275- // // const std::string file = TEST_PATH;
276- // // BOOST_REQUIRE(test::create(file));
277- // // map instance(file, 1, 50);
278- // // BOOST_REQUIRE(!instance.open());
279- // // BOOST_REQUIRE(!instance.load());
280- // // BOOST_REQUIRE_EQUAL(instance.allocate(size), zero);
281- // // constexpr auto capacity = size + to_half(size);
282- // // BOOST_REQUIRE_EQUAL(instance.capacity(), capacity);
283- // // BOOST_REQUIRE(instance.truncate(to_half(size)));
284- // // BOOST_REQUIRE_EQUAL(instance.size(), to_half(size));
285- // // BOOST_REQUIRE(!instance.unload());
286- // // BOOST_REQUIRE(!instance.close());
287- // // BOOST_REQUIRE(!instance.get_fault());
288- // //}
289-
290271BOOST_AUTO_TEST_CASE (map__allocate__unloaded__false)
291272{
292273 const std::string file = TEST_PATH;
You can’t perform that action at this time.
0 commit comments