KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_tuning_bridging_clamp.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <limits>
#include <base_units.h>
#include <core/minoptmax.h>
#include <net_chain_bridging.h>

Go to the source code of this file.

Functions

static void applyBridging (MINOPTMAX< int > &aTarget, long long aBridgingIU)
 
 BOOST_AUTO_TEST_CASE (TimeDomainAttosecondsClampsToZero)
 
 BOOST_AUTO_TEST_CASE (LengthModeUnaffectedWithinIntRange)
 
 BOOST_AUTO_TEST_CASE (BridgingExceedsTargetFloorsAtZero)
 
 BOOST_AUTO_TEST_CASE (WideArithmeticPreservesMagnitude)
 
 BOOST_AUTO_TEST_CASE (OptStaysWithinMinMaxAfterBridging)
 
 BOOST_AUTO_TEST_CASE (OptClampsToZeroWhenBridgingExceedsTarget)
 

Function Documentation

◆ applyBridging()

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( BridgingExceedsTargetFloorsAtZero )

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( LengthModeUnaffectedWithinIntRange )

◆ BOOST_AUTO_TEST_CASE() [3/6]

◆ BOOST_AUTO_TEST_CASE() [4/6]

◆ BOOST_AUTO_TEST_CASE() [5/6]

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( WideArithmeticPreservesMagnitude )