KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_grid_helper.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <tool/grid_helper.h>

Go to the source code of this file.

Macros

#define BOOST_TEST_NO_MAIN
 

Functions

void TEST_CLEAR_ANCHORS (GRID_HELPER &helper)
 
 BOOST_AUTO_TEST_CASE (DefaultConstructor)
 
 BOOST_AUTO_TEST_CASE (AlignBasic)
 
 BOOST_AUTO_TEST_CASE (AlignGridWithCustomGrid)
 
 BOOST_AUTO_TEST_CASE (AlignWithOriginOffset)
 
 BOOST_AUTO_TEST_CASE (AlignWithAuxiliaryAxes)
 
 BOOST_AUTO_TEST_CASE (GridSnappingDisabled)
 
 BOOST_AUTO_TEST_CASE (UseGridDisabled)
 
 BOOST_AUTO_TEST_CASE (AsymmetricGrid)
 
 BOOST_AUTO_TEST_CASE (SnapFlags)
 
 BOOST_AUTO_TEST_CASE (MaskOperations)
 
 BOOST_AUTO_TEST_CASE (SkipPoint)
 
 BOOST_AUTO_TEST_CASE (GridTypeAlignment)
 
 BOOST_AUTO_TEST_CASE (EdgeCases)
 
 BOOST_AUTO_TEST_CASE (GetGridSize)
 
 BOOST_AUTO_TEST_CASE (VisibleGrid)
 
 BOOST_AUTO_TEST_CASE (SnapPointManagement)
 

Macro Definition Documentation

◆ BOOST_TEST_NO_MAIN

#define BOOST_TEST_NO_MAIN

Definition at line 18 of file test_grid_helper.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/16]

◆ BOOST_AUTO_TEST_CASE() [2/16]

◆ BOOST_AUTO_TEST_CASE() [3/16]

◆ BOOST_AUTO_TEST_CASE() [4/16]

◆ BOOST_AUTO_TEST_CASE() [5/16]

◆ BOOST_AUTO_TEST_CASE() [6/16]

◆ BOOST_AUTO_TEST_CASE() [7/16]

◆ BOOST_AUTO_TEST_CASE() [8/16]

◆ BOOST_AUTO_TEST_CASE() [9/16]

◆ BOOST_AUTO_TEST_CASE() [10/16]

◆ BOOST_AUTO_TEST_CASE() [11/16]

◆ BOOST_AUTO_TEST_CASE() [12/16]

BOOST_AUTO_TEST_CASE ( SkipPoint  )

◆ BOOST_AUTO_TEST_CASE() [13/16]

BOOST_AUTO_TEST_CASE ( SnapFlags  )

◆ BOOST_AUTO_TEST_CASE() [14/16]

BOOST_AUTO_TEST_CASE ( SnapPointManagement  )

Definition at line 298 of file test_grid_helper.cpp.

References GRID_HELPER::GetSnappedPoint(), and TEST_CLEAR_ANCHORS().

◆ BOOST_AUTO_TEST_CASE() [15/16]

◆ BOOST_AUTO_TEST_CASE() [16/16]

BOOST_AUTO_TEST_CASE ( VisibleGrid  )

◆ TEST_CLEAR_ANCHORS()

void TEST_CLEAR_ANCHORS ( GRID_HELPER helper)

Definition at line 23 of file test_grid_helper.cpp.

Referenced by BOOST_AUTO_TEST_CASE().