| 
    KiCad PCB EDA Suite
    
   | 
 
#include <qa_utils/wx_utils/unit_test_utils.h>#include <geometry/shape_line_chain.h>#include <geometry/shape_poly_set.h>#include "fixtures_geometry.h"Go to the source code of this file.
Classes | |
| struct | IteratorFixture | 
| Fixture for the Iterator test suite.  More... | |
Functions | |
| BOOST_AUTO_TEST_CASE (VertexIterator) | |
| Declares the IteratorFixture as the boost test suite fixture.   | |
| BOOST_AUTO_TEST_CASE (SegmentIterator) | |
| Checks whether the iteration on the segments of a common polygon is correct.   | |
| BOOST_AUTO_TEST_CASE (EmptyPolygon) | |
| Checks whether the iteration on the segments of an empty polygon is correct.   | |
| BOOST_AUTO_TEST_CASE (UniqueVertex) | |
| Checks whether the iteration on the segments of a polygon with one vertex is correct.   | |
| BOOST_AUTO_TEST_CASE (TotalVertices) | |
| Checks whether the counting of the total number of vertices is correct.   | |
| BOOST_AUTO_TEST_CASE (RemoveNullSegments) | |
| Checks whether the removal of null segments, wherever they are placed, is correct.   | |
| BOOST_AUTO_TEST_CASE | ( | EmptyPolygon | ) | 
Checks whether the iteration on the segments of an empty polygon is correct.
Definition at line 132 of file test_shape_poly_set_iterator.cpp.
| BOOST_AUTO_TEST_CASE | ( | RemoveNullSegments | ) | 
Checks whether the removal of null segments, wherever they are placed, is correct.
Definition at line 173 of file test_shape_poly_set_iterator.cpp.
References BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | SegmentIterator | ) | 
Checks whether the iteration on the segments of a common polygon is correct.
Definition at line 113 of file test_shape_poly_set_iterator.cpp.
References SEG::A, SEG::B, and BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | TotalVertices | ) | 
Checks whether the counting of the total number of vertices is correct.
Definition at line 162 of file test_shape_poly_set_iterator.cpp.
References BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | UniqueVertex | ) | 
Checks whether the iteration on the segments of a polygon with one vertex is correct.
Definition at line 145 of file test_shape_poly_set_iterator.cpp.
References SEG::A, SEG::B, and BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | VertexIterator | ) | 
Declares the IteratorFixture as the boost test suite fixture.
Checks whether the iteration on the vertices of a common polygon is correct.
Definition at line 98 of file test_shape_poly_set_iterator.cpp.
References BOOST_AUTO_TEST_CASE().