KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>
#include <geometry/corner_operations.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) | |
BOOST_AUTO_TEST_CASE | ( | AsymmetricChamfer | ) |
Definition at line 125 of file test_chamfer.cpp.
References DoChamferTestChecks().
BOOST_AUTO_TEST_CASE | ( | ChamferFullLength | ) |
Definition at line 143 of file test_chamfer.cpp.
References DoChamferTestChecks().
BOOST_AUTO_TEST_CASE | ( | ChamferOverFullLength | ) |
Definition at line 161 of file test_chamfer.cpp.
References DoChamferTestChecks().
BOOST_AUTO_TEST_CASE | ( | SimpleChamferAtOrigin | ) |
Definition at line 81 of file test_chamfer.cpp.
References DoChamferTestChecks().
BOOST_AUTO_TEST_CASE | ( | SimpleChamferNotAtOrigin | ) |
Definition at line 107 of file test_chamfer.cpp.
References DoChamferTestChecks().
|
static |
Definition at line 47 of file test_chamfer.cpp.
References ComputeChamferPoints(), CHAMFER_RESULT::m_chamfer, TWO_LINE_CHAMFER_TEST_CASE::m_expected_result, TWO_LINE_CHAMFER_TEST_CASE::m_params, TWO_LINE_CHAMFER_TEST_CASE::m_seg_a, TWO_LINE_CHAMFER_TEST_CASE::m_seg_b, CHAMFER_RESULT::m_updated_seg_a, CHAMFER_RESULT::m_updated_seg_b, and GEOM_TEST::SegmentsHaveSameEndPoints().
Referenced by BOOST_AUTO_TEST_CASE().