|
KiCad PCB EDA Suite
|
#include <algorithm>#include <cmath>#include <functional>#include <vector>#include <qa_utils/wx_utils/unit_test_utils.h>#include <board.h>#include <pcb_shape.h>#include <constraints/pcb_constraint.h>#include <constraints/board_constraint_adapter.h>#include <core/mirror.h>#include <geometry/eda_angle.h>#include <geometry/seg.h>#include "constraint_test_utils.h"Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (Sweep) | |
| BOOST_AUTO_TEST_CASE (FlipRestoresTangent) | |
| BOOST_AUTO_TEST_CASE (RotateRestoresParallel) | |
| BOOST_AUTO_TEST_CASE | ( | FlipRestoresTangent | ) |
Definition at line 219 of file test_constraint_combinations.cpp.
References std::abs(), KI_TEST::addCircle(), KI_TEST::addSegment(), DiagnoseBoardConstraints(), SEG::LineDistance(), KI_TEST::MM, ReSolveShapeClusters(), TANGENT, and TOP_BOTTOM.
| BOOST_AUTO_TEST_CASE | ( | RotateRestoresParallel | ) |
Definition at line 249 of file test_constraint_combinations.cpp.
References std::abs(), KI_TEST::addSegment(), DEGREES_T, DiagnoseBoardConstraints(), VECTOR2< T >::EuclideanNorm(), KI_TEST::MM, PARALLEL, ReSolveShapeClusters(), VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | Sweep | ) |
Definition at line 59 of file test_constraint_combinations.cpp.
References KI_TEST::addCircle(), KI_TEST::addSegment(), BOOST_AUTO_TEST_CASE(), KI_TEST::MM, BOARD_ITEM::SetLocked(), and T.