KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_pads_arc_structures.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <sstream>
#include <pcb_io/pads/pads_parser.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (Arc_DefaultConstruction)
 
 BOOST_AUTO_TEST_CASE (Arc_AggregateInitialization)
 
 BOOST_AUTO_TEST_CASE (ArcPoint_DefaultConstruction)
 
 BOOST_AUTO_TEST_CASE (ArcPoint_LineConstruction)
 
 BOOST_AUTO_TEST_CASE (ArcPoint_ArcConstruction)
 
 BOOST_AUTO_TEST_CASE (ArcPoint_EmplaceBack_Line)
 
 BOOST_AUTO_TEST_CASE (ArcPoint_EmplaceBack_Arc)
 
 BOOST_AUTO_TEST_CASE (Arc_FullCircle)
 
 BOOST_AUTO_TEST_CASE (Arc_NegativeDelta)
 
 BOOST_AUTO_TEST_CASE (Polyline_DefaultConstruction)
 
 BOOST_AUTO_TEST_CASE (Polyline_WithPoints)
 
 BOOST_AUTO_TEST_CASE (Track_UsesArcPoint)
 
 BOOST_AUTO_TEST_CASE (Pour_UsesArcPoint)
 
 BOOST_AUTO_TEST_CASE (DecalItem_UsesArcPoint)
 
 BOOST_AUTO_TEST_CASE (Arc_FromBoundingBox)
 
 BOOST_AUTO_TEST_CASE (Arc_FromBoundingBox_OffCenter)
 
 BOOST_AUTO_TEST_CASE (ArcPoint_ParseFromStream)
 
 BOOST_AUTO_TEST_CASE (ArcPoint_ParseFromStream_NoArc)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/18]

BOOST_AUTO_TEST_CASE ( Arc_AggregateInitialization )

Definition at line 45 of file test_pads_arc_structures.cpp.

References BOOST_CHECK_EQUAL().

◆ BOOST_AUTO_TEST_CASE() [2/18]

BOOST_AUTO_TEST_CASE ( Arc_DefaultConstruction )

Definition at line 34 of file test_pads_arc_structures.cpp.

References BOOST_AUTO_TEST_CASE(), and BOOST_CHECK_EQUAL().

◆ BOOST_AUTO_TEST_CASE() [3/18]

BOOST_AUTO_TEST_CASE ( Arc_FromBoundingBox )

Definition at line 217 of file test_pads_arc_structures.cpp.

References radius.

◆ BOOST_AUTO_TEST_CASE() [4/18]

BOOST_AUTO_TEST_CASE ( Arc_FromBoundingBox_OffCenter )

Definition at line 241 of file test_pads_arc_structures.cpp.

References radius.

◆ BOOST_AUTO_TEST_CASE() [5/18]

BOOST_AUTO_TEST_CASE ( Arc_FullCircle )

Definition at line 121 of file test_pads_arc_structures.cpp.

References BOOST_CHECK_EQUAL().

◆ BOOST_AUTO_TEST_CASE() [6/18]

BOOST_AUTO_TEST_CASE ( Arc_NegativeDelta )

Definition at line 129 of file test_pads_arc_structures.cpp.

References BOOST_CHECK_EQUAL().

◆ BOOST_AUTO_TEST_CASE() [7/18]

◆ BOOST_AUTO_TEST_CASE() [8/18]

◆ BOOST_AUTO_TEST_CASE() [9/18]

BOOST_AUTO_TEST_CASE ( ArcPoint_EmplaceBack_Arc )

Definition at line 108 of file test_pads_arc_structures.cpp.

References BOOST_CHECK_EQUAL().

◆ BOOST_AUTO_TEST_CASE() [10/18]

BOOST_AUTO_TEST_CASE ( ArcPoint_EmplaceBack_Line )

Definition at line 92 of file test_pads_arc_structures.cpp.

References BOOST_CHECK_EQUAL().

◆ BOOST_AUTO_TEST_CASE() [11/18]

BOOST_AUTO_TEST_CASE ( ArcPoint_LineConstruction )

◆ BOOST_AUTO_TEST_CASE() [12/18]

BOOST_AUTO_TEST_CASE ( ArcPoint_ParseFromStream )

Definition at line 258 of file test_pads_arc_structures.cpp.

References BOOST_CHECK_EQUAL().

◆ BOOST_AUTO_TEST_CASE() [13/18]

BOOST_AUTO_TEST_CASE ( ArcPoint_ParseFromStream_NoArc )

Definition at line 278 of file test_pads_arc_structures.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/18]

BOOST_AUTO_TEST_CASE ( DecalItem_UsesArcPoint )

◆ BOOST_AUTO_TEST_CASE() [15/18]

BOOST_AUTO_TEST_CASE ( Polyline_DefaultConstruction )

◆ BOOST_AUTO_TEST_CASE() [16/18]

BOOST_AUTO_TEST_CASE ( Polyline_WithPoints )

◆ BOOST_AUTO_TEST_CASE() [17/18]

◆ BOOST_AUTO_TEST_CASE() [18/18]

BOOST_AUTO_TEST_CASE ( Track_UsesArcPoint )