'Handover, test 1 test case implementation. More...
Public Member Functions | |
| SatHandoverTest1 () | |
| virtual | ~SatHandoverTest1 () |
Private Member Functions | |
| virtual void | DoRun (void) |
| std::vector< std::string > | Split (std::string s, char del) |
| void | TestFileValue (std::string path, uint32_t time, double expectedValue) |
'Handover, test 1 test case implementation.
This case tests that a application throughputs PerEntity are correct. It generates a conf with 2 GEO satellites, 2 GWs, 4 UTs (3 static and 1 moving) and 1 UT users per UT. Each UT user receives 40.96 kb/s.
Static UTs are connected to:
Moving UT is:
Expected throughputs (after 8s):
Expected throughputs (after 18s):
Definition at line 87 of file satellite-handover-test.cc.
| SatHandoverTest1::SatHandoverTest1 | ( | ) |
Definition at line 101 of file satellite-handover-test.cc.
|
virtual |
Definition at line 108 of file satellite-handover-test.cc.
|
privatevirtual |
Set regeneration mode
Set simulation output details
Enable packet trace
Definition at line 170 of file satellite-handover-test.cc.
References ns3::SatTrafficHelper::FWD_LINK, ns3::SatEnvVariables::GetInstance(), ns3::SatHelper::NONE, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, ns3::SatEnums::REGENERATION_NETWORK, TestFileValue(), and ns3::SatTrafficHelper::UDP.
|
private |
Definition at line 113 of file satellite-handover-test.cc.
Referenced by TestFileValue().
|
private |
Definition at line 127 of file satellite-handover-test.cc.
References Split().
Referenced by DoRun().