Test case to unit test Satellite Mobility Observer. More...
Public Member Functions | |
SatMobilityObserverTestCase () | |
virtual | ~SatMobilityObserverTestCase () |
Private Member Functions | |
virtual void | DoRun (void) |
Test case to unit test Satellite Mobility Observer.
This case tests that SatMobilityObserver object can be created successfully and it calculates correctly.
Expected result: Timing advance and elevation angle values got are correct.
Notes: At least corner points, valid values and out of range (NAN) elevation angle values is needed to test. When reference satellite is used for example MatLab is useful to get reference values for elevation angles.
Definition at line 294 of file satellite-mobility-observer-test.cc.
SatMobilityObserverTestCase::SatMobilityObserverTestCase | ( | ) |
Definition at line 304 of file satellite-mobility-observer-test.cc.
|
virtual |
Definition at line 309 of file satellite-mobility-observer-test.cc.
|
privatevirtual |
Definition at line 314 of file satellite-mobility-observer-test.cc.
References g_firstLatValue, g_firstLonValue, g_latitudeCount, g_latStep, g_longitudeCount, g_lonStep, g_refElAngles, ns3::GeoCoordinate::SetAltitude(), ns3::GeoCoordinate::SetLatitude(), and ns3::GeoCoordinate::SetLongitude().