From 014373a9ef99e4c9cc1c15f52e0946ea413c868d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 28 Mar 2025 01:20:16 +0000 Subject: Expose size of each container by type --- test/test-collection.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/test-collection.cpp b/test/test-collection.cpp index b0f2c43..620d3ab 100644 --- a/test/test-collection.cpp +++ b/test/test-collection.cpp @@ -320,10 +320,10 @@ BOOST_AUTO_TEST_CASE(addMulti) BOOST_CHECK_EQUAL(std::get<1>(otherObjects).size(), 3); BOOST_CHECK_EQUAL(std::get<2>(otherObjects).size(), 0); create(); - BOOST_CHECK_EQUAL(objects.size(), 5); - BOOST_CHECK_EQUAL(std::get<0>(otherObjects).size(), 1); - BOOST_CHECK_EQUAL(std::get<1>(otherObjects).size(), 4); - BOOST_CHECK_EQUAL(std::get<2>(otherObjects).size(), 1); + BOOST_CHECK_EQUAL(size(), 5); + BOOST_CHECK_EQUAL(size(), 1); + BOOST_CHECK_EQUAL(size(), 4); + BOOST_CHECK_EQUAL(size(), 1); } BOOST_AUTO_TEST_CASE(removeMulti) -- cgit v1.2.3