|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <cmath>#include <limits>#include <transline_calculations/coupled_stripline.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 (CenteredSymmetric) | |
| BOOST_AUTO_TEST_CASE (OffsetWithExplicitCenter) | |
| BOOST_AUTO_TEST_CASE (OffsetAt6Mil) | |
| BOOST_AUTO_TEST_CASE (OffsetReproducesCenteredWhenCentered) | |
| BOOST_AUTO_TEST_CASE (OffsetMonotonicInA) | |
| BOOST_AUTO_TEST_CASE (ZcommAndKcDerivedFromZ0Modes) | |
| BOOST_AUTO_TEST_CASE (SynthesisRoundTripCentered) | |
| BOOST_AUTO_TEST_CASE (OffsetBelowFiniteThicknessLimitYieldsError) | |
| BOOST_AUTO_TEST_CASE (SynthesisFromZdiffZcomm) | |
| BOOST_AUTO_TEST_CASE (ZdiffZcommIgnoredOutsideOptIn) | |
| BOOST_AUTO_TEST_CASE (SynthesisDoesNotReuseStaleAnalyseOutputs) | |
| BOOST_AUTO_TEST_CASE (TuningProfileSymmetricStackMatchesCentered) | |
| BOOST_AUTO_TEST_CASE (TuningProfileTopBottomSwapSymmetry) | |
| BOOST_AUTO_TEST_CASE (TuningProfileZeroThicknessSignalMatchesTopDielectric) | |
| BOOST_AUTO_TEST_CASE | ( | CenteredSymmetric | ) |
Definition at line 108 of file test_coupled_stripline_offset.cpp.
References BOOST_AUTO_TEST_CASE(), and BOOST_TEST().
| BOOST_AUTO_TEST_CASE | ( | OffsetAt6Mil | ) |
Definition at line 144 of file test_coupled_stripline_offset.cpp.
References BOOST_TEST(), and TRANSLINE_CALCULATIONS::UNIT_MIL.
| BOOST_AUTO_TEST_CASE | ( | OffsetBelowFiniteThicknessLimitYieldsError | ) |
Definition at line 255 of file test_coupled_stripline_offset.cpp.
References COUPLED_STRIPLINE::Analyse(), BOOST_TEST(), TRANSLINE_CALCULATION_BASE::GetAnalysisResults(), TRANSLINE_CALCULATION_BASE::GetParameter(), TS_ERROR, TRANSLINE_CALCULATIONS::UNIT_MIL, Z0_E, and Z0_O.
| BOOST_AUTO_TEST_CASE | ( | OffsetMonotonicInA | ) |
Definition at line 188 of file test_coupled_stripline_offset.cpp.
References BOOST_TEST(), and TRANSLINE_CALCULATIONS::UNIT_MIL.
| BOOST_AUTO_TEST_CASE | ( | OffsetReproducesCenteredWhenCentered | ) |
Definition at line 171 of file test_coupled_stripline_offset.cpp.
References BOOST_TEST().
| BOOST_AUTO_TEST_CASE | ( | OffsetWithExplicitCenter | ) |
Definition at line 123 of file test_coupled_stripline_offset.cpp.
References BOOST_TEST().
| BOOST_AUTO_TEST_CASE | ( | SynthesisDoesNotReuseStaleAnalyseOutputs | ) |
Definition at line 323 of file test_coupled_stripline_offset.cpp.
References COUPLED_STRIPLINE::Analyse(), BOOST_REQUIRE(), BOOST_TEST(), DEFAULT, TRANSLINE_CALCULATION_BASE::GetParameter(), TRANSLINE_CALCULATION_BASE::SetParameter(), COUPLED_STRIPLINE::Synthesize(), Z0_E, Z0_O, Z_COMM, and Z_DIFF.
| BOOST_AUTO_TEST_CASE | ( | SynthesisFromZdiffZcomm | ) |
Definition at line 275 of file test_coupled_stripline_offset.cpp.
References COUPLED_STRIPLINE::Analyse(), BOOST_REQUIRE(), BOOST_TEST(), FROM_ZDIFF_ZCOMM, TRANSLINE_CALCULATION_BASE::GetParameter(), TRANSLINE_CALCULATION_BASE::SetParameter(), COUPLED_STRIPLINE::Synthesize(), Z_COMM, and Z_DIFF.
| BOOST_AUTO_TEST_CASE | ( | SynthesisRoundTripCentered | ) |
Definition at line 234 of file test_coupled_stripline_offset.cpp.
References COUPLED_STRIPLINE::Analyse(), BOOST_REQUIRE(), BOOST_TEST(), FIX_SPACING, TRANSLINE_CALCULATION_BASE::GetParameter(), TRANSLINE_CALCULATION_BASE::SetParameter(), COUPLED_STRIPLINE::Synthesize(), Z0_O, and Z_DIFF.
| BOOST_AUTO_TEST_CASE | ( | TuningProfileSymmetricStackMatchesCentered | ) |
Definition at line 379 of file test_coupled_stripline_offset.cpp.
References BOOST_TEST(), and TRANSLINE_CALCULATIONS::UNIT_MIL.
| BOOST_AUTO_TEST_CASE | ( | TuningProfileTopBottomSwapSymmetry | ) |
Definition at line 403 of file test_coupled_stripline_offset.cpp.
References BOOST_TEST(), top(), and TRANSLINE_CALCULATIONS::UNIT_MIL.
| BOOST_AUTO_TEST_CASE | ( | TuningProfileZeroThicknessSignalMatchesTopDielectric | ) |
Definition at line 421 of file test_coupled_stripline_offset.cpp.
References BOOST_TEST(), top(), and TRANSLINE_CALCULATIONS::UNIT_MIL.
| BOOST_AUTO_TEST_CASE | ( | ZcommAndKcDerivedFromZ0Modes | ) |
Definition at line 211 of file test_coupled_stripline_offset.cpp.
References COUPLED_STRIPLINE::Analyse(), BOOST_TEST(), BOOST_TEST_MESSAGE(), COUPLING_K, TRANSLINE_CALCULATION_BASE::GetParameter(), Z0_E, Z0_O, and Z_COMM.
| BOOST_AUTO_TEST_CASE | ( | ZdiffZcommIgnoredOutsideOptIn | ) |
Definition at line 299 of file test_coupled_stripline_offset.cpp.
References COUPLED_STRIPLINE::Analyse(), BOOST_REQUIRE(), BOOST_TEST(), FIX_SPACING, TRANSLINE_CALCULATION_BASE::GetParameter(), TRANSLINE_CALCULATION_BASE::SetParameter(), COUPLED_STRIPLINE::Synthesize(), Z0_O, Z_COMM, and Z_DIFF.