KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_distribute.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <geometry/distribute.h>
#include "geom_test_utils.h"

Go to the source code of this file.

Classes

struct  DistributeFixture
 
struct  DISTRIBUTE_GAPS_TEST_CASE
 Declares the FilletFixture struct as the boost test fixture. More...
 
struct  DISTRIBUTE_POINTS_TEST_CASE
 

Functions

static void DoDistributeGapsTestChecks (const DISTRIBUTE_GAPS_TEST_CASE &aTestCase)
 
 BOOST_AUTO_TEST_CASE (DistributeGapsNoChangeNeeded)
 
 BOOST_AUTO_TEST_CASE (DistributeGapsSimpleShiftNeeded)
 
 BOOST_AUTO_TEST_CASE (DistributeGapsRounding)
 
static void DoDistributePointsTestChecks (const DISTRIBUTE_POINTS_TEST_CASE &aTestCase)
 
 BOOST_AUTO_TEST_CASE (DistributePointsNoChangeNeeded)
 
 BOOST_AUTO_TEST_CASE (DistributePointsSimpleShiftNeeded)
 
 BOOST_AUTO_TEST_CASE (DistributePointsRounding)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( DistributeGapsNoChangeNeeded  )

Definition at line 62 of file test_distribute.cpp.

References DoDistributeGapsTestChecks().

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( DistributeGapsRounding  )

Definition at line 92 of file test_distribute.cpp.

References DoDistributeGapsTestChecks().

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( DistributeGapsSimpleShiftNeeded  )

Definition at line 77 of file test_distribute.cpp.

References DoDistributeGapsTestChecks().

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( DistributePointsNoChangeNeeded  )

Definition at line 134 of file test_distribute.cpp.

References DoDistributePointsTestChecks().

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( DistributePointsRounding  )

Definition at line 156 of file test_distribute.cpp.

References DoDistributePointsTestChecks().

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( DistributePointsSimpleShiftNeeded  )

Definition at line 145 of file test_distribute.cpp.

References DoDistributePointsTestChecks().

◆ DoDistributeGapsTestChecks()

static void DoDistributeGapsTestChecks ( const DISTRIBUTE_GAPS_TEST_CASE aTestCase)
static

◆ DoDistributePointsTestChecks()

static void DoDistributePointsTestChecks ( const DISTRIBUTE_POINTS_TEST_CASE aTestCase)
static