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

Asserts that the interactive engine's per-frame Update result equals a from-scratch whole-board solve at the same geometry, for several drag positions. More...

#include <qa_utils/wx_utils/unit_test_utils.h>
#include <pcbnew_utils/board_test_utils.h>
#include <board.h>
#include <board_connected_item.h>
#include <board_design_settings.h>
#include <netinfo.h>
#include <pcb_track.h>
#include <settings/settings_manager.h>
#include <drc/drc_creepage_engine.h>
#include <drc/drc_creepage_utils.h>
#include <limits>
#include <optional>
#include <queue>
#include <set>
#include <vector>

Go to the source code of this file.

Classes

struct  CREEPAGE_INCREMENTAL_FIXTURE
 

Functions

 BOOST_FIXTURE_TEST_CASE (CreepageIncrementalEqualsFull, CREEPAGE_INCREMENTAL_FIXTURE)
 
 BOOST_FIXTURE_TEST_CASE (CreepageWholeBoardSolveDeterministic, CREEPAGE_INCREMENTAL_FIXTURE)
 

Variables

static constexpr int LARGE_CONSTRAINT = 50000000
 

Detailed Description

Asserts that the interactive engine's per-frame Update result equals a from-scratch whole-board solve at the same geometry, for several drag positions.

Definition in file test_creepage_engine_incremental.cpp.

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( CreepageWholeBoardSolveDeterministic ,
CREEPAGE_INCREMENTAL_FIXTURE  )

Variable Documentation

◆ LARGE_CONSTRAINT

int LARGE_CONSTRAINT = 50000000
staticconstexpr