KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_snapping_options.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <algorithm>
#include <dialogs/panel_snapping.h>

Go to the source code of this file.

Macros

#define BOOST_TEST_NO_MAIN
 

Functions

 BOOST_AUTO_TEST_CASE (RoutingEditorsOfferTheRouterOnlyMode)
 
 BOOST_AUTO_TEST_CASE (EveryOfferedOptionRoundTrips)
 
 BOOST_AUTO_TEST_CASE (UnofferedOptionReadsBackAsNever)
 
 BOOST_AUTO_TEST_CASE (OutOfRangeIndexIsNever)
 

Macro Definition Documentation

◆ BOOST_TEST_NO_MAIN

#define BOOST_TEST_NO_MAIN

Definition at line 20 of file test_snapping_options.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( EveryOfferedOptionRoundTrips )

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( OutOfRangeIndexIsNever )

Definition at line 71 of file test_snapping_options.cpp.

References MagneticSnapOptions(), MagneticSnapValue(), and NO_EFFECT.

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( RoutingEditorsOfferTheRouterOnlyMode )

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( UnofferedOptionReadsBackAsNever )