SatMobilityObserverTestCase Class Reference

Test case to unit test Satellite Mobility Observer. More...

+ Inheritance diagram for SatMobilityObserverTestCase:
+ Collaboration diagram for SatMobilityObserverTestCase:

Public Member Functions

 SatMobilityObserverTestCase ()
 
virtual ~SatMobilityObserverTestCase ()
 

Private Member Functions

virtual void DoRun (void)
 

Detailed Description

Test case to unit test Satellite Mobility Observer.

This case tests that SatMobilityObserver object can be created successfully and it calculates correctly.

  1. Create SatMobilityObserver object with geo mobility and own mobility.
  2. Set position of Geo satellite mobility.
  3. Set position of own mobility.
  4. Set propagation delay and another mobility to observer.
  5. Get timing advance from observer.
  6. Set position of own mobility.
  7. Get elevation angle from observer.
  8. Repeat steps 6 and 7 several times.
  9. Set Geo satellite using reference satellite and repeat steps 6 and 7 several times.

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 295 of file satellite-mobility-observer-test.cc.

Constructor & Destructor Documentation

◆ SatMobilityObserverTestCase()

SatMobilityObserverTestCase::SatMobilityObserverTestCase ( )

Definition at line 305 of file satellite-mobility-observer-test.cc.

◆ ~SatMobilityObserverTestCase()

SatMobilityObserverTestCase::~SatMobilityObserverTestCase ( )
virtual

Definition at line 310 of file satellite-mobility-observer-test.cc.

Member Function Documentation

◆ DoRun()

void SatMobilityObserverTestCase::DoRun ( void  )
privatevirtual

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