|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <cmath>#include <limits>#include <transline_calculations/coplanar.h>#include <transline_calculations/coupled_microstrip.h>#include <transline_calculations/microstrip.h>#include <transline_calculations/transline_calculation_base.h>#include <transline_calculations/units.h>#include <transline_calculations/units_scales.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (MaskAbsentReturnsInputsUnchanged) | |
| BOOST_AUTO_TEST_CASE (ZeroThicknessReturnsInputsUnchanged) | |
| BOOST_AUTO_TEST_CASE (ZeroDeltaQReturnsInputsUnchanged) | |
| BOOST_AUTO_TEST_CASE (WanHoorfarFormulaMatchesHandComputation) | |
| BOOST_AUTO_TEST_CASE (ThickMaskApproachesBahlStuchlyLimit) | |
| BOOST_AUTO_TEST_CASE (MicrostripUncoatedIsBitIdenticalWithMaskDisabled) | |
| BOOST_AUTO_TEST_CASE (MicrostripMaskDirectionAndMagnitude) | |
| BOOST_AUTO_TEST_CASE (CoupledMicrostripMaskRaisesBothModes) | |
| BOOST_AUTO_TEST_CASE (CpwMaskGapsFilledExceedsMaskTracesOnly) | |
| BOOST_AUTO_TEST_CASE (SoldermaskTanDeltaAffectsDielectricLoss) | |
| BOOST_AUTO_TEST_CASE (TanDeltaBlendAirReplacement) | |
| BOOST_AUTO_TEST_CASE (TanDeltaBlendBothEndsContribute) | |
| BOOST_AUTO_TEST_CASE (BadMaskEpsilonRejectsCorrection) | |
| BOOST_AUTO_TEST_CASE (BadMaskTanDeltaRejectsCorrection) | |
| BOOST_AUTO_TEST_CASE (CbcpwMaskDropsLessThanPureCpw) | |
| BOOST_AUTO_TEST_CASE | ( | BadMaskEpsilonRejectsCorrection | ) |
Definition at line 498 of file test_soldermask.cpp.
References BOOST_CHECK_EQUAL(), H, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, and SOLDERMASK_THICKNESS.
| BOOST_AUTO_TEST_CASE | ( | BadMaskTanDeltaRejectsCorrection | ) |
Definition at line 529 of file test_soldermask.cpp.
References BOOST_CHECK_EQUAL(), H, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, and SOLDERMASK_THICKNESS.
| BOOST_AUTO_TEST_CASE | ( | CbcpwMaskDropsLessThanPureCpw | ) |
Definition at line 557 of file test_soldermask.cpp.
References COPLANAR::Analyse(), BOOST_TEST(), TRANSLINE_CALCULATION_BASE::GetParameter(), TRANSLINE_CALCULATION_BASE::SetParameter(), SOLDERMASK_FILLS_GAPS, TRANSLINE_CALCULATIONS::UNIT_MIL, and Z0.
| BOOST_AUTO_TEST_CASE | ( | CoupledMicrostripMaskRaisesBothModes | ) |
Definition at line 361 of file test_soldermask.cpp.
References COUPLED_MICROSTRIP::Analyse(), BOOST_TEST(), EPSILON_EFF_EVEN, EPSILON_EFF_ODD, TRANSLINE_CALCULATION_BASE::GetAnalysisResults(), TRANSLINE_CALCULATION_BASE::GetParameter(), TRANSLINE_CALCULATIONS::UNIT_MIL, Z0_E, and Z0_O.
| BOOST_AUTO_TEST_CASE | ( | CpwMaskGapsFilledExceedsMaskTracesOnly | ) |
Definition at line 385 of file test_soldermask.cpp.
References COPLANAR::Analyse(), BOOST_TEST(), TRANSLINE_CALCULATION_BASE::GetParameter(), TRANSLINE_CALCULATION_BASE::SetParameter(), SOLDERMASK_FILLS_GAPS, TRANSLINE_CALCULATIONS::UNIT_MIL, and Z0.
| BOOST_AUTO_TEST_CASE | ( | MaskAbsentReturnsInputsUnchanged | ) |
Definition at line 167 of file test_soldermask.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), H, result, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, and SOLDERMASK_THICKNESS.
| BOOST_AUTO_TEST_CASE | ( | MicrostripMaskDirectionAndMagnitude | ) |
Definition at line 323 of file test_soldermask.cpp.
References MICROSTRIP::Analyse(), BOOST_TEST(), EPSILON_EFF, TRANSLINE_CALCULATION_BASE::GetParameter(), TRANSLINE_CALCULATIONS::UNIT_MIL, and Z0.
| BOOST_AUTO_TEST_CASE | ( | MicrostripUncoatedIsBitIdenticalWithMaskDisabled | ) |
Definition at line 301 of file test_soldermask.cpp.
References MICROSTRIP::Analyse(), ATTEN_DILECTRIC, EPSILON_EFF, TRANSLINE_CALCULATION_BASE::GetParameter(), TRANSLINE_CALCULATION_BASE::SetParameter(), SOLDERMASK_PRESENT, and Z0.
| BOOST_AUTO_TEST_CASE | ( | SoldermaskTanDeltaAffectsDielectricLoss | ) |
Definition at line 411 of file test_soldermask.cpp.
References MICROSTRIP::Analyse(), ATTEN_DILECTRIC, BOOST_TEST(), TRANSLINE_CALCULATION_BASE::GetParameter(), and TRANSLINE_CALCULATIONS::UNIT_MIL.
| BOOST_AUTO_TEST_CASE | ( | TanDeltaBlendAirReplacement | ) |
Definition at line 435 of file test_soldermask.cpp.
References BOOST_TEST(), H, result, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, SOLDERMASK_THICKNESS, and TRANSLINE_CALCULATION_BASE::WanHoorfarQ2().
| BOOST_AUTO_TEST_CASE | ( | TanDeltaBlendBothEndsContribute | ) |
Definition at line 470 of file test_soldermask.cpp.
References BOOST_TEST(), H, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, and SOLDERMASK_THICKNESS.
| BOOST_AUTO_TEST_CASE | ( | ThickMaskApproachesBahlStuchlyLimit | ) |
Definition at line 272 of file test_soldermask.cpp.
References BOOST_TEST(), H, result, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, and SOLDERMASK_THICKNESS.
| BOOST_AUTO_TEST_CASE | ( | WanHoorfarFormulaMatchesHandComputation | ) |
Definition at line 242 of file test_soldermask.cpp.
References expected, H, result, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, SOLDERMASK_THICKNESS, and TRANSLINE_CALCULATION_BASE::WanHoorfarQ2().
| BOOST_AUTO_TEST_CASE | ( | ZeroDeltaQReturnsInputsUnchanged | ) |
Definition at line 205 of file test_soldermask.cpp.
References BOOST_CHECK_EQUAL(), H, result, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, and SOLDERMASK_THICKNESS.
| BOOST_AUTO_TEST_CASE | ( | ZeroThicknessReturnsInputsUnchanged | ) |
Definition at line 186 of file test_soldermask.cpp.
References BOOST_CHECK_EQUAL(), H, result, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, and SOLDERMASK_THICKNESS.