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)
 
 BOOST_AUTO_TEST_CASE (AlignGridWithNonPageOrigin)
 

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/17]

◆ BOOST_AUTO_TEST_CASE() [2/17]

◆ BOOST_AUTO_TEST_CASE() [3/17]

◆ BOOST_AUTO_TEST_CASE() [4/17]

◆ BOOST_AUTO_TEST_CASE() [5/17]

◆ BOOST_AUTO_TEST_CASE() [6/17]

◆ BOOST_AUTO_TEST_CASE() [7/17]

◆ BOOST_AUTO_TEST_CASE() [8/17]

◆ BOOST_AUTO_TEST_CASE() [9/17]

◆ BOOST_AUTO_TEST_CASE() [10/17]

◆ BOOST_AUTO_TEST_CASE() [11/17]

◆ BOOST_AUTO_TEST_CASE() [12/17]

◆ BOOST_AUTO_TEST_CASE() [13/17]

BOOST_AUTO_TEST_CASE ( SkipPoint )

◆ BOOST_AUTO_TEST_CASE() [14/17]

BOOST_AUTO_TEST_CASE ( SnapFlags )

◆ BOOST_AUTO_TEST_CASE() [15/17]

BOOST_AUTO_TEST_CASE ( SnapPointManagement )

Definition at line 297 of file test_grid_helper.cpp.

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

◆ BOOST_AUTO_TEST_CASE() [16/17]

◆ BOOST_AUTO_TEST_CASE() [17/17]

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().