KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_roundrect.cpp File Reference

Go to the source code of this file.

Functions

static void CheckPolygonFitsRect (int aWidth, int aHeight, int aRadius)
 
 BOOST_AUTO_TEST_CASE (CircleFromSquare)
 
 BOOST_AUTO_TEST_CASE (OvalWide)
 
 BOOST_AUTO_TEST_CASE (OvalTall)
 
 BOOST_AUTO_TEST_CASE (NormalRoundrect)
 
 BOOST_AUTO_TEST_CASE (PlainRectangle)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( CircleFromSquare )

Definition at line 55 of file test_roundrect.cpp.

References CheckPolygonFitsRect().

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( NormalRoundrect )

Definition at line 73 of file test_roundrect.cpp.

References CheckPolygonFitsRect().

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( OvalTall )

Definition at line 67 of file test_roundrect.cpp.

References CheckPolygonFitsRect().

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( OvalWide )

Definition at line 61 of file test_roundrect.cpp.

References CheckPolygonFitsRect().

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( PlainRectangle )

Definition at line 79 of file test_roundrect.cpp.

References CheckPolygonFitsRect().

◆ CheckPolygonFitsRect()