KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_constraint_diagnostics.cpp File Reference
#include <algorithm>
#include <vector>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <board.h>
#include <core/kicad_algo.h>
#include <footprint.h>
#include <pcb_shape.h>
#include <constraints/pcb_constraint.h>
#include <constraints/board_constraint_adapter.h>
#include "constraint_test_utils.h"

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (PerClusterVerdicts)
 
 BOOST_AUTO_TEST_CASE (ConflictingClusterIsOverConstrained)
 
 BOOST_AUTO_TEST_CASE (DanglingMemberIsErrored)
 
 BOOST_AUTO_TEST_CASE (IncompatibleKindConstraintIsErroredAndClusterStillSolves)
 
 BOOST_AUTO_TEST_CASE (CircleEndpointAnchorIsErrored)
 
 BOOST_AUTO_TEST_CASE (FootprintScopedConstraintsAreDiagnosed)
 
 BOOST_AUTO_TEST_CASE (DriftedReferenceValueIsNotConflicting)
 
 BOOST_AUTO_TEST_CASE (ContradictionInMultiShapeClusterIsFlagged)
 
 BOOST_AUTO_TEST_CASE (ConvergentCollapseFlagsOnlyIncidentConstraints)
 
 BOOST_AUTO_TEST_CASE (MovingOneShapeReSolvesOnlyItsCluster)
 
 BOOST_AUTO_TEST_CASE (AddingConstraintReSolvesOnlyItsCluster)
 
 BOOST_AUTO_TEST_CASE (ChangingDrivingValueReSolvesOnlyItsCluster)
 
 BOOST_AUTO_TEST_CASE (DiagnoserMatchesFreeFunction)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/13]

◆ BOOST_AUTO_TEST_CASE() [2/13]

◆ BOOST_AUTO_TEST_CASE() [3/13]

◆ BOOST_AUTO_TEST_CASE() [4/13]

BOOST_AUTO_TEST_CASE ( ConflictingClusterIsOverConstrained )

◆ BOOST_AUTO_TEST_CASE() [5/13]

◆ BOOST_AUTO_TEST_CASE() [6/13]

◆ BOOST_AUTO_TEST_CASE() [7/13]

◆ BOOST_AUTO_TEST_CASE() [8/13]

◆ BOOST_AUTO_TEST_CASE() [9/13]

◆ BOOST_AUTO_TEST_CASE() [10/13]

◆ BOOST_AUTO_TEST_CASE() [11/13]

BOOST_AUTO_TEST_CASE ( IncompatibleKindConstraintIsErroredAndClusterStillSolves )

◆ BOOST_AUTO_TEST_CASE() [12/13]

◆ BOOST_AUTO_TEST_CASE() [13/13]