KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_snap_inference.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <kiid.h>
#include <snap/snap_inference.h>
#include <settings/snap_settings.h>
#include <algorithm>
#include <chrono>
#include <ctime>
#include <map>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (GroupDefaultsPreserveConservativeInference)
 
 BOOST_AUTO_TEST_CASE (FiniteSegmentsRejectExtensionOnlyIntersection)
 
 BOOST_AUTO_TEST_CASE (IntersectionBranchIdentityDoesNotFollowCursorDistance)
 
 BOOST_AUTO_TEST_CASE (IntersectionBranchIdentitySurvivesSiblingRadiusFiltering)
 
 BOOST_AUTO_TEST_CASE (ActiveExtensionRayRetainsItsFiniteDirection)
 
 BOOST_AUTO_TEST_CASE (MovingFeaturesExcludedButStationarySelfFeaturesRemain)
 
 BOOST_AUTO_TEST_CASE (CircleNormalEnumeratesBothFiniteBranches)
 
 BOOST_AUTO_TEST_CASE (NormalBranchIdentityDoesNotDependOnTangentSetting)
 
 BOOST_AUTO_TEST_CASE (ArcNormalRejectsContactOutsideFiniteDomain)
 
 BOOST_AUTO_TEST_CASE (CircleRemainsComposableManifold)
 
 BOOST_AUTO_TEST_CASE (BoundingBoxFeaturesTranslateSourcePointExactly)
 
 BOOST_AUTO_TEST_CASE (ProjectedMovingBoundsDoNotOscillateAfterSnap)
 
 BOOST_AUTO_TEST_CASE (AlignmentGuideIdentifiesMatchedTargetFeature)
 
 BOOST_AUTO_TEST_CASE (BoundsReferencePrefersMatchingFeatures)
 
 BOOST_AUTO_TEST_CASE (PadCenterReferencePrefersPadCenterTargets)
 
 BOOST_AUTO_TEST_CASE (AlignmentAcceptsOneFeatureIdentityPerAxis)
 
 BOOST_AUTO_TEST_CASE (DenseAlignmentBoundsCandidateCountBeforeResolution)
 
 BOOST_AUTO_TEST_CASE (LayoutInferenceIsInvariantUnderAxisTranspose)
 
 BOOST_AUTO_TEST_CASE (EqualGapCentersBetweenImmediateNeighbors)
 
 BOOST_AUTO_TEST_CASE (EqualHorizontalGapCarriesBothBracketSpans)
 
 BOOST_AUTO_TEST_CASE (EqualVerticalGapCarriesBothBracketSpans)
 
 BOOST_AUTO_TEST_CASE (EqualGapPreservesSourceOffsetFromMovingBounds)
 
 BOOST_AUTO_TEST_CASE (EqualGapIgnoresReferencePreference)
 
 BOOST_AUTO_TEST_CASE (EqualGapCopiesAdjacentStationaryGap)
 
 BOOST_AUTO_TEST_CASE (EqualGapCopiesAdjacentStationaryGapBeforePair)
 
 BOOST_AUTO_TEST_CASE (DenseEqualSpacingBoundsCandidateCountBeforeResolution)
 
 BOOST_AUTO_TEST_CASE (LayoutRejectsMovingSelectionDescendants)
 
 BOOST_AUTO_TEST_CASE (CandidateDensityP95StaysWithinFourMilliseconds)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/28]

◆ BOOST_AUTO_TEST_CASE() [2/28]

◆ BOOST_AUTO_TEST_CASE() [3/28]

◆ BOOST_AUTO_TEST_CASE() [4/28]

◆ BOOST_AUTO_TEST_CASE() [5/28]

◆ BOOST_AUTO_TEST_CASE() [6/28]

◆ BOOST_AUTO_TEST_CASE() [7/28]

BOOST_AUTO_TEST_CASE ( CandidateDensityP95StaysWithinFourMilliseconds )

◆ BOOST_AUTO_TEST_CASE() [8/28]

◆ BOOST_AUTO_TEST_CASE() [9/28]

◆ BOOST_AUTO_TEST_CASE() [10/28]

BOOST_AUTO_TEST_CASE ( DenseAlignmentBoundsCandidateCountBeforeResolution )

◆ BOOST_AUTO_TEST_CASE() [11/28]

BOOST_AUTO_TEST_CASE ( DenseEqualSpacingBoundsCandidateCountBeforeResolution )

◆ BOOST_AUTO_TEST_CASE() [12/28]

◆ BOOST_AUTO_TEST_CASE() [13/28]

◆ BOOST_AUTO_TEST_CASE() [14/28]

◆ BOOST_AUTO_TEST_CASE() [15/28]

◆ BOOST_AUTO_TEST_CASE() [16/28]

BOOST_AUTO_TEST_CASE ( EqualGapPreservesSourceOffsetFromMovingBounds )

◆ BOOST_AUTO_TEST_CASE() [17/28]

◆ BOOST_AUTO_TEST_CASE() [18/28]

◆ BOOST_AUTO_TEST_CASE() [19/28]

BOOST_AUTO_TEST_CASE ( FiniteSegmentsRejectExtensionOnlyIntersection )

◆ BOOST_AUTO_TEST_CASE() [20/28]

◆ BOOST_AUTO_TEST_CASE() [21/28]

◆ BOOST_AUTO_TEST_CASE() [22/28]

BOOST_AUTO_TEST_CASE ( IntersectionBranchIdentitySurvivesSiblingRadiusFiltering )

◆ BOOST_AUTO_TEST_CASE() [23/28]

◆ BOOST_AUTO_TEST_CASE() [24/28]

◆ BOOST_AUTO_TEST_CASE() [25/28]

◆ BOOST_AUTO_TEST_CASE() [26/28]

◆ BOOST_AUTO_TEST_CASE() [27/28]

◆ BOOST_AUTO_TEST_CASE() [28/28]