SatMobilityList1TestCase Class Reference

Test case to unit test satellite mobility's position setting from list position allocator. More...

+ Inheritance diagram for SatMobilityList1TestCase:
+ Collaboration diagram for SatMobilityList1TestCase:

Public Member Functions

 SatMobilityList1TestCase ()
 
virtual ~SatMobilityList1TestCase ()
 

Private Member Functions

virtual void DoRun (void)
 

Detailed Description

Test case to unit test satellite mobility's position setting from list position allocator.

No conversion expected to happen. (Constant position mobility model used).

This case tests that SatConstantPositionMobilityModel object can be created successfully and position allocation can be done with list allocator when they operate using geodetic coordinates.

  1. Create SatListPositionAllocator object and set positions to it.
  2. Create SatConstantPositionMobilityModel object with SatListPositionAllocator with MobilityHelper.
  3. Install nodes to mobility with helper.
  4. Get position of nodes by mobility model.

Expected result: Positions should be same as set to allocator.

Notes: SatMobilityModel and SatListPositionAllocator (SatPositionAllocator) attributes AsGeoCoordinates define, if mobility and allocator operate using geodetic coordinates or using Cartesian Coordinates. By default geodetic coordinates is used.

Definition at line 163 of file satellite-mobility-test.cc.

Constructor & Destructor Documentation

◆ SatMobilityList1TestCase()

SatMobilityList1TestCase::SatMobilityList1TestCase ( )

Definition at line 173 of file satellite-mobility-test.cc.

◆ ~SatMobilityList1TestCase()

SatMobilityList1TestCase::~SatMobilityList1TestCase ( )
virtual

Definition at line 179 of file satellite-mobility-test.cc.

Member Function Documentation

◆ DoRun()

void SatMobilityList1TestCase::DoRun ( void  )
privatevirtual

Definition at line 184 of file satellite-mobility-test.cc.


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