KiCad PCB EDA Suite
|
#include <vector>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <geometry/shape_poly_set.h>
#include <qa_utils/geometry/geometry.h>
#include <geometry/geom_test_utils.h>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (SplitCoincidentOutlineOppositeDirection) | |
BOOST_AUTO_TEST_CASE (SplitCoincidentOutlineSameDirection) | |
BOOST_AUTO_TEST_CASE | ( | SplitCoincidentOutlineOppositeDirection | ) |
Definition at line 35 of file test_shape_poly_set_split_outlines.cpp.
References SHAPE_POLY_SET::AddOutline(), BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), GEOM_TEST::IsPolySetValid(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), SHAPE_LINE_CHAIN::SetClosed(), and SHAPE_POLY_SET::Simplify().
BOOST_AUTO_TEST_CASE | ( | SplitCoincidentOutlineSameDirection | ) |
Definition at line 61 of file test_shape_poly_set_split_outlines.cpp.
References SHAPE_POLY_SET::AddOutline(), BOOST_CHECK_EQUAL(), GEOM_TEST::IsPolySetValid(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), SHAPE_LINE_CHAIN::SetClosed(), and SHAPE_POLY_SET::Simplify().