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 | DOGBONE_TEST_CASE |
Declares the DogboneFixture struct as the boost test fixture. More... | |
Functions | |
static void | DoDogboneTestChecks (const DOGBONE_TEST_CASE &aTestCase) |
BOOST_AUTO_TEST_CASE (SimpleRightAngleAtOrigin) | |
BOOST_AUTO_TEST_CASE | ( | SimpleRightAngleAtOrigin | ) |
Definition at line 85 of file test_dogbone.cpp.
References DoDogboneTestChecks().
|
static |
Definition at line 44 of file test_dogbone.cpp.
References ComputeDogbone(), SHAPE_ARC::GetArcMid(), SHAPE_ARC::GetP0(), SHAPE_ARC::GetP1(), DOGBONE_TEST_CASE::m_add_slots, DOGBONE_RESULT::m_arc, DOGBONE_TEST_CASE::m_expected_result, DOGBONE_TEST_CASE::m_radius, DOGBONE_TEST_CASE::m_seg_a, DOGBONE_TEST_CASE::m_seg_b, DOGBONE_RESULT::m_small_arc_mouth, DOGBONE_RESULT::m_updated_seg_a, DOGBONE_RESULT::m_updated_seg_b, and GEOM_TEST::SegmentsHaveSameEndPoints().
Referenced by BOOST_AUTO_TEST_CASE().