KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <eda_shape.h>
#include <qa_utils/geometry/geometry.h>
#include <geometry/shape_arc.h>
Go to the source code of this file.
Classes | |
class | EDA_SHAPE_MOCK |
struct | SET_ANGLE_END_CASE |
struct | SET_ARC_GEOMETRY_CASE |
Functions | |
BOOST_AUTO_TEST_CASE (SetAngleAndEnd) | |
BOOST_AUTO_TEST_CASE (SetArcGeometry) | |
Variables | |
static const std::vector< SET_ANGLE_END_CASE > | set_angle_end_cases |
static const std::vector< SET_ARC_GEOMETRY_CASE > | set_arc_geometry_cases |
BOOST_AUTO_TEST_CASE | ( | SetAngleAndEnd | ) |
Definition at line 67 of file test_eda_shape.cpp.
References ARC, SHAPE_ARC::DefaultAccuracyForPCB(), DEGREES_T, EDA_SHAPE::EndsSwapped(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetStart(), set_angle_end_cases, EDA_SHAPE::SetArcAngleAndEnd(), EDA_SHAPE::SetCenter(), and EDA_SHAPE::SetStart().
BOOST_AUTO_TEST_CASE | ( | SetArcGeometry | ) |
Definition at line 131 of file test_eda_shape.cpp.
References ARC, EDA_ANGLE::AsDegrees(), SHAPE_ARC::DefaultAccuracyForPCB(), EDA_SHAPE::EndsSwapped(), EDA_SHAPE::GetArcAngle(), EDA_SHAPE::getCenter(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetStart(), set_arc_geometry_cases, and EDA_SHAPE::SetArcGeometry().
|
static |
Definition at line 46 of file test_eda_shape.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 103 of file test_eda_shape.cpp.
Referenced by BOOST_AUTO_TEST_CASE().