Test case for comparing a BLER value computed by DVB-S2 link results with a BLER value taken from a reference. More...
Public Member Functions | |
SatLinkResultsDvbS2TestCase (Ptr< SatLinkResultsDvbS2 > linkResults, SatEnums::SatModcod_t modcod, double sinrDb, double bler) | |
Private Member Functions | |
virtual void | DoRun () |
Private Attributes | |
double | m_bler |
Ptr< SatLinkResultsDvbS2 > | m_linkResults |
SatEnums::SatModcod_t | m_modcod |
double | m_sinrDb |
Test case for comparing a BLER value computed by DVB-S2 link results with a BLER value taken from a reference.
The test fails if the difference of both BLER values are greater than define SAT_LINK_RESULTS_PRECISION.
Definition at line 111 of file satellite-link-results-test.cc.
ns3::SatLinkResultsDvbS2TestCase::SatLinkResultsDvbS2TestCase | ( | Ptr< SatLinkResultsDvbS2 > | linkResults, |
SatEnums::SatModcod_t | modcod, | ||
double | sinrDb, | ||
double | bler | ||
) |
linkResults | pre-loaded DVB-S2 link results |
modcod | the specific DVB-S2's modulation and coding scheme to be tested |
sinrDb | the SINR (in dB unit) which BLER will be computed from |
bler | the reference BLER to be compared with the computed BLER |
Definition at line 134 of file satellite-link-results-test.cc.
|
privatevirtual |
Definition at line 147 of file satellite-link-results-test.cc.
References m_bler, m_linkResults, m_modcod, m_sinrDb, ns3::SatEnums::NORMAL_FRAME, and SAT_LINK_RESULTS_PRECISION.
|
private |
Definition at line 131 of file satellite-link-results-test.cc.
Referenced by DoRun().
|
private |
Definition at line 128 of file satellite-link-results-test.cc.
Referenced by DoRun().
|
private |
Definition at line 129 of file satellite-link-results-test.cc.
Referenced by DoRun().
|
private |
Definition at line 130 of file satellite-link-results-test.cc.
Referenced by DoRun().