|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <cmath>#include <sim/sim_plot_tab.h>#include <sim/smith_math.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (GammaScreenRoundTrip) | |
| BOOST_AUTO_TEST_CASE (ZoomAboutPointKeepsGamma) | |
| BOOST_AUTO_TEST_CASE (ToScreenOverflowSafety) | |
| BOOST_AUTO_TEST_CASE (ImpedanceFromGamma) | |
| BOOST_AUTO_TEST_CASE (SeriesEquivalents) | |
| BOOST_AUTO_TEST_CASE (MatchMetrics) | |
| BOOST_AUTO_TEST_CASE (SParamPortParsing) | |
| BOOST_AUTO_TEST_CASE (SmithCursorSurvivesPartialSweep) | |
| BOOST_AUTO_TEST_CASE (SmithCursorResolvesFrequencyOnceDataArrives) | |
| BOOST_AUTO_TEST_CASE | ( | GammaScreenRoundTrip | ) |
Definition at line 28 of file test_smith_chart_math.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), SMITH_VIEW::center, SMITH_VIEW::pan, SMITH_VIEW::radius, SMITH_VIEW::ToGamma(), SMITH_VIEW::ToScreen(), and SMITH_VIEW::zoom.
| BOOST_AUTO_TEST_CASE | ( | ImpedanceFromGamma | ) |
Definition at line 141 of file test_smith_chart_math.cpp.
References BOOST_REQUIRE(), and SMITH_MATH::GammaToImpedance().
| BOOST_AUTO_TEST_CASE | ( | MatchMetrics | ) |
Definition at line 185 of file test_smith_chart_math.cpp.
References SMITH_MATH::ReturnLoss(), and SMITH_MATH::VSWR().
| BOOST_AUTO_TEST_CASE | ( | SeriesEquivalents | ) |
Definition at line 176 of file test_smith_chart_math.cpp.
References SMITH_MATH::SeriesCapacitance(), and SMITH_MATH::SeriesInductance().
| BOOST_AUTO_TEST_CASE | ( | SmithCursorResolvesFrequencyOnceDataArrives | ) |
Definition at line 268 of file test_smith_chart_math.cpp.
References BOOST_CHECK_EQUAL(), cursor, TRACE::SetCursor(), TRACE::SetData(), SMITH_TRACE::SetFrequencies(), SPT_SP_SMITH, and SPT_VOLTAGE.
| BOOST_AUTO_TEST_CASE | ( | SmithCursorSurvivesPartialSweep | ) |
Definition at line 232 of file test_smith_chart_math.cpp.
References BOOST_CHECK_EQUAL(), cursor, TRACE::SetCursor(), TRACE::SetData(), SMITH_TRACE::SetFrequencies(), SPT_SP_SMITH, and SPT_VOLTAGE.
| BOOST_AUTO_TEST_CASE | ( | SParamPortParsing | ) |
Definition at line 207 of file test_smith_chart_math.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), and SMITH_MATH::ParseSParamPorts().
| BOOST_AUTO_TEST_CASE | ( | ToScreenOverflowSafety | ) |
Definition at line 112 of file test_smith_chart_math.cpp.
References BOOST_CHECK_EQUAL(), SMITH_VIEW::center, SMITH_MATH::GammaToImpedance(), SMITH_VIEW::pan, SMITH_VIEW::radius, SMITH_VIEW::ToScreen(), and SMITH_VIEW::zoom.
| BOOST_AUTO_TEST_CASE | ( | ZoomAboutPointKeepsGamma | ) |
Definition at line 72 of file test_smith_chart_math.cpp.
References center, SMITH_VIEW::center, SMITH_VIEW::pan, SMITH_VIEW::radius, SMITH_VIEW::ToGamma(), SMITH_VIEW::zoom, and SMITH_MATH::ZoomAboutPoint().