76 for(
double freq : { 1.0e6, 1.0e9, 5.0e9, 10.0e9 } )
83 const double Z0_o = results.at(
TCP::Z0_O).first;
86 BOOST_TEST( std::fabs( Zdiff - 2.0 * Z0_o ) < 1.0e-9 );
107 BOOST_TEST( std::fabs( Zdiff_hi - Zdiff_lo ) > 0.1 );
121 const double Zdiff = results.at(
TCP::Z_DIFF).first;
122 const double Z0_o = results.at(
TCP::Z0_O).first;
124 BOOST_TEST( std::fabs( Zdiff - 2.0 * Z0_o ) < 0.1 );
void Analyse() override
Analyse track geometry parameters to output Z0 and Ang_L.
void SetParameter(const TRANSLINE_PARAMETERS aParam, const double aValue)
Sets the given calculation property.
std::unordered_map< TRANSLINE_PARAMETERS, std::pair< double, TRANSLINE_STATUS > > & GetAnalysisResults()
Gets the output parameters following analysis.
constexpr double UNIT_MICRON
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_AUTO_TEST_CASE(ZdiffTracksDispersedOddMode)
BOOST_TEST(contains==c.ExpectedContains)
BOOST_AUTO_TEST_SUITE_END()
BOOST_TEST_MESSAGE("\n=== Real-World Polygon PIP Benchmark ===\n"<< formatTable(table))
TRANSLINE_PARAMETERS
All possible parameters used (as inputs or outputs) by the transmission line calculations.