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

Go to the source code of this file.

Classes

class  ItemRealignmentOrthoTestFixture
 

Functions

 BOOST_AUTO_TEST_CASE (SimpleNull)
 
 BOOST_AUTO_TEST_CASE (SimpleRotation)
 
 BOOST_AUTO_TEST_CASE (AlmostRotation)
 
 BOOST_AUTO_TEST_CASE (MinorityOfPointsMoved)
 
 BOOST_AUTO_TEST_CASE (PointsSpacedApart)
 
 BOOST_AUTO_TEST_CASE (RotateAndMove)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( AlmostRotation )

Definition at line 76 of file test_item_realignment.cpp.

References ANGLE_0, BOOST_REQUIRE(), and BOOST_TEST().

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( MinorityOfPointsMoved )

Definition at line 97 of file test_item_realignment.cpp.

References ANGLE_0, BOOST_REQUIRE(), and BOOST_TEST().

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( PointsSpacedApart )

Definition at line 124 of file test_item_realignment.cpp.

References std::abs(), ANGLE_0, BOOST_REQUIRE(), and BOOST_TEST().

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( RotateAndMove )

Definition at line 164 of file test_item_realignment.cpp.

References ANGLE_270, BOOST_REQUIRE(), and BOOST_TEST().

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( SimpleNull )

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( SimpleRotation )

Definition at line 57 of file test_item_realignment.cpp.

References ANGLE_90, BOOST_REQUIRE(), and BOOST_TEST().