|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <boost/test/unit_test.hpp>#include <pcb_shape.h>#include <fix_board_shape.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (HairlineCollinearGapWelds) | |
| BOOST_AUTO_TEST_CASE (LargeCollinearGapSurvives) | |
| BOOST_AUTO_TEST_CASE (RealCornerExtendsToIntersection) | |
| BOOST_AUTO_TEST_CASE (WeldCapBoundary) | |
Variables | |
| static const int | CHAINING = 3000000 |
| BOOST_AUTO_TEST_CASE | ( | HairlineCollinearGapWelds | ) |
Definition at line 34 of file test_connect_board_shapes.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), CHAINING, ConnectBoardShapes(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetStart(), SEGMENT, PCB_SHAPE::SetEnd(), PCB_SHAPE::SetStart(), VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | LargeCollinearGapSurvives | ) |
Definition at line 54 of file test_connect_board_shapes.cpp.
References BOOST_CHECK_EQUAL(), CHAINING, ConnectBoardShapes(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetStart(), SEGMENT, PCB_SHAPE::SetEnd(), PCB_SHAPE::SetStart(), VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | RealCornerExtendsToIntersection | ) |
Definition at line 75 of file test_connect_board_shapes.cpp.
References BOOST_CHECK_EQUAL(), CHAINING, ConnectBoardShapes(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetStart(), SEGMENT, PCB_SHAPE::SetEnd(), PCB_SHAPE::SetStart(), VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | WeldCapBoundary | ) |
Definition at line 96 of file test_connect_board_shapes.cpp.
References BOOST_CHECK_EQUAL(), CHAINING, ConnectBoardShapes(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetStart(), SEGMENT, PCB_SHAPE::SetEnd(), PCB_SHAPE::SetStart(), and VECTOR2< T >::x.
|
static |
Definition at line 28 of file test_connect_board_shapes.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().