KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_net_chain_ordered_nets.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <schematic_utils/schematic_file_util.h>
#include <algorithm>
#include <set>
#include <vector>
#include <connection_graph.h>
#include <kiid.h>
#include <locale_io.h>
#include <schematic.h>
#include <sch_netchain.h>
#include <settings/settings_manager.h>

Go to the source code of this file.

Classes

struct  ORDERED_NETS_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (LinearChainCoversEveryMemberWithTerminalsAtEnds)
 
 BOOST_AUTO_TEST_CASE (SecondCallReturnsIdenticalCachedVector)
 
 BOOST_AUTO_TEST_CASE (AddNetInvalidatesCache)
 
 BOOST_AUTO_TEST_CASE (BranchedChainPlacesPathBeforeOffPathNets)
 
 BOOST_AUTO_TEST_CASE (NullGraphReturnsEmpty)
 
 BOOST_AUTO_TEST_CASE (StandaloneEmptyChainStaysDirty)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( AddNetInvalidatesCache )

Definition at line 126 of file test_net_chain_ordered_nets.cpp.

References BOOST_REQUIRE(), chain, dummy, and Load().

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( BranchedChainPlacesPathBeforeOffPathNets )

Definition at line 153 of file test_net_chain_ordered_nets.cpp.

References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), chain, dummy, and Load().

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( LinearChainCoversEveryMemberWithTerminalsAtEnds )

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( NullGraphReturnsEmpty )

Definition at line 184 of file test_net_chain_ordered_nets.cpp.

References BOOST_REQUIRE(), chain, dummy, empty(), and Load().

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( SecondCallReturnsIdenticalCachedVector )

Definition at line 109 of file test_net_chain_ordered_nets.cpp.

References BOOST_REQUIRE(), chain, dummy, and Load().

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( StandaloneEmptyChainStaysDirty )