ns3::LinkResultTestSuite Class Reference

Unit test suite for link results (sat-link-results-test). More...

+ Inheritance diagram for ns3::LinkResultTestSuite:
+ Collaboration diagram for ns3::LinkResultTestSuite:

Public Member Functions

 LinkResultTestSuite ()
 Runs a unit test suite of link results. More...
 

Detailed Description

Unit test suite for link results (sat-link-results-test).

Definition at line 163 of file satellite-link-results-test.cc.

Constructor & Destructor Documentation

◆ LinkResultTestSuite()

ns3::LinkResultTestSuite::LinkResultTestSuite ( )
inline

Runs a unit test suite of link results.

The test suite consists of approximately 460 test cases for DVB-RCS2 (SatLinkResultsDvbRcs2TestCase) and 100 test cases for DVB-S2 (SatLinkResultsDvbS2TestCase). These test cases cover all possible waveform ID in DVB-RCS2 and all possible combination of Modcod and burst length in DVB-S2. On top of that, these test cases attempt to cover a large range of SINR (with 0.1 dB resolution), which is deemed relevant to be tested.

Each test case consists of a simple query to a satellite link results object and a simple value comparison. The link results object is created and loaded once in the beginning of the test suite.

The reference BLER values were generated by a separate Octave script based on the values taken from the link results data file.

Note
If the link results data files have been modified, you might want to refresh the reference BLER values here to ensure the test still passes successfully. See the comments inside the code for more instructions.
Warning
Link results data files must be available to be read by the program (by default, they are located in contrib/satellite/data/linkresults directory).

Definition at line 193 of file satellite-link-results-test.cc.

References ns3::SatEnums::SAT_MODCOD_16APSK_2_TO_3, ns3::SatEnums::SAT_MODCOD_16APSK_3_TO_4, ns3::SatEnums::SAT_MODCOD_16APSK_4_TO_5, ns3::SatEnums::SAT_MODCOD_16APSK_5_TO_6, ns3::SatEnums::SAT_MODCOD_16APSK_8_TO_9, ns3::SatEnums::SAT_MODCOD_16APSK_9_TO_10, ns3::SatEnums::SAT_MODCOD_32APSK_3_TO_4, ns3::SatEnums::SAT_MODCOD_32APSK_4_TO_5, ns3::SatEnums::SAT_MODCOD_32APSK_5_TO_6, ns3::SatEnums::SAT_MODCOD_32APSK_8_TO_9, ns3::SatEnums::SAT_MODCOD_8PSK_2_TO_3, ns3::SatEnums::SAT_MODCOD_8PSK_3_TO_4, ns3::SatEnums::SAT_MODCOD_8PSK_3_TO_5, ns3::SatEnums::SAT_MODCOD_8PSK_5_TO_6, ns3::SatEnums::SAT_MODCOD_8PSK_8_TO_9, ns3::SatEnums::SAT_MODCOD_8PSK_9_TO_10, ns3::SatEnums::SAT_MODCOD_QPSK_1_TO_2, ns3::SatEnums::SAT_MODCOD_QPSK_2_TO_3, ns3::SatEnums::SAT_MODCOD_QPSK_3_TO_4, ns3::SatEnums::SAT_MODCOD_QPSK_3_TO_5, ns3::SatEnums::SAT_MODCOD_QPSK_4_TO_5, ns3::SatEnums::SAT_MODCOD_QPSK_5_TO_6, ns3::SatEnums::SAT_MODCOD_QPSK_8_TO_9, and ns3::SatEnums::SAT_MODCOD_QPSK_9_TO_10.


The documentation for this class was generated from the following file: