20#include <boost/test/unit_test.hpp>
52 for(
size_t i = 0; i < deltas.size(); ++i )
124 for(
size_t i = 0; i < deltas.size(); ++i )
134 { 0, 100, 200, 300, 400 },
std::vector< int > GetDeltasForDistributeByGaps(const std::vector< std::pair< int, int > > &aItemExtents)
Given a list of 'n' item spans (e.g.
std::vector< int > GetDeltasForDistributeByPoints(const std::vector< int > &aItemPositions)
Declares the FilletFixture struct as the boost test fixture.
std::vector< std::pair< int, int > > m_extents
std::vector< int > m_expectedDeltas
std::vector< int > m_points
std::vector< int > m_expectedDeltas
BOOST_REQUIRE_EQUAL(rows.size(), 1)
BOOST_CHECK_EQUAL(std::any_cast< std::string >(rows[0].at("val")), "12345678901234567.89")
static void DoDistributeGapsTestChecks(const DISTRIBUTE_GAPS_TEST_CASE &aTestCase)
static void DoDistributePointsTestChecks(const DISTRIBUTE_POINTS_TEST_CASE &aTestCase)
BOOST_AUTO_TEST_CASE(DistributeGapsNoChangeNeeded)
BOOST_AUTO_TEST_SUITE_END()