Test case for comparing a BLER value computed by DVB-RCS2 link results with a BLER value taken from a reference. More...
Public Member Functions | |
SatLinkResultsDvbRcs2TestCase (Ptr< SatLinkResultsDvbRcs2 > linkResults, uint32_t waveformId, double sinrDb, double bler) | |
Private Member Functions | |
virtual void | DoRun () |
Private Attributes | |
double | m_bler |
Ptr< SatLinkResultsDvbRcs2 > | m_linkResults |
double | m_sinrDb |
uint32_t | m_waveformId |
Test case for comparing a BLER value computed by DVB-RCS2 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 54 of file satellite-link-results-test.cc.
ns3::SatLinkResultsDvbRcs2TestCase::SatLinkResultsDvbRcs2TestCase | ( | Ptr< SatLinkResultsDvbRcs2 > | linkResults, |
uint32_t | waveformId, | ||
double | sinrDb, | ||
double | bler | ||
) |
linkResults | pre-loaded DVB-RCS2 link results |
waveformId | the specific DVB-RCS2's waveform ID 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 76 of file satellite-link-results-test.cc.
|
privatevirtual |
Definition at line 89 of file satellite-link-results-test.cc.
References m_bler, m_linkResults, m_sinrDb, m_waveformId, and SAT_LINK_RESULTS_PRECISION.
|
private |
Definition at line 73 of file satellite-link-results-test.cc.
Referenced by DoRun().
|
private |
Definition at line 70 of file satellite-link-results-test.cc.
Referenced by DoRun().
|
private |
Definition at line 72 of file satellite-link-results-test.cc.
Referenced by DoRun().
|
private |
Definition at line 71 of file satellite-link-results-test.cc.
Referenced by DoRun().