|
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 494 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 525 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 553 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 357 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 381 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 163 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 319 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 297 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 407 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 431 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 466 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 268 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 238 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 201 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 182 of file test_soldermask.cpp.
References BOOST_CHECK_EQUAL(), H, result, SOLDERMASK_EPSILONR, SOLDERMASK_PRESENT, SOLDERMASK_TAND, and SOLDERMASK_THICKNESS.