|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <board.h>#include <kiid.h>#include <pcb_shape.h>#include <pcbnew_utils/board_file_utils.h>#include <pcbnew_utils/board_test_utils.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (Issue22597SimplifyPolygon) | |
| Test that polygon simplification works on the reproduction case from issue #22597. | |
| BOOST_AUTO_TEST_CASE | ( | Issue22597SimplifyPolygon | ) |
Test that polygon simplification works on the reproduction case from issue #22597.
The test file contains two polygons:
Definition at line 44 of file test_poly_simplify.cpp.
References SHAPE_LINE_CHAIN::ArcCount(), BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_TEST_MESSAGE(), EDA_SHAPE::GetPolyShape(), EDA_SHAPE::GetShape(), KI_TEST::LoadAndTestBoardFile(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), PCB_SHAPE_T, SHAPE_LINE_CHAIN::PointCount(), POLY, and SHAPE_POLY_SET::SimplifyOutlines().