Skip to content

Commit abeaf69

Browse files
committed
Comments.
1 parent a84063d commit abeaf69

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

test/memory/map.cpp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff 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-
290271
BOOST_AUTO_TEST_CASE(map__allocate__unloaded__false)
291272
{
292273
const std::string file = TEST_PATH;

0 commit comments

Comments
 (0)