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

Go to the source code of this file.

Classes

struct  ChamferFixture
 
struct  TWO_LINE_CHAMFER_TEST_CASE
 Declares the FilletFixture struct as the boost test fixture. More...
 

Functions

static void DoChamferTestChecks (const TWO_LINE_CHAMFER_TEST_CASE &aTestCase)
 
 BOOST_AUTO_TEST_CASE (SimpleChamferAtOrigin)
 
 BOOST_AUTO_TEST_CASE (SimpleChamferNotAtOrigin)
 
 BOOST_AUTO_TEST_CASE (AsymmetricChamfer)
 
 BOOST_AUTO_TEST_CASE (ChamferFullLength)
 
 BOOST_AUTO_TEST_CASE (ChamferOverFullLength)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( AsymmetricChamfer  )

Definition at line 125 of file test_chamfer.cpp.

References DoChamferTestChecks().

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( ChamferFullLength  )

Definition at line 143 of file test_chamfer.cpp.

References DoChamferTestChecks().

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( ChamferOverFullLength  )

Definition at line 161 of file test_chamfer.cpp.

References DoChamferTestChecks().

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( SimpleChamferAtOrigin  )

Definition at line 81 of file test_chamfer.cpp.

References DoChamferTestChecks().

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( SimpleChamferNotAtOrigin  )

Definition at line 107 of file test_chamfer.cpp.

References DoChamferTestChecks().

◆ DoChamferTestChecks()