SatMobilityRandomTestCase Class Reference

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

+ Inheritance diagram for SatMobilityRandomTestCase:
+ Collaboration diagram for SatMobilityRandomTestCase:

Public Member Functions

 SatMobilityRandomTestCase ()
 
virtual ~SatMobilityRandomTestCase ()
 

Private Member Functions

virtual void DoRun (void)
 

Detailed Description

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

(Constant position mobility model used).

This case tests that SatConstantPositionMobilityModel object can be created successfully and position allocation can be done with random box allocator.

  1. Create SatConstantPositionMobilityModel object with SatRandomBoxPositionAllocator with MobilityHelper.
  2. Install nodes to mobility with helper.
  3. Get position of nodes by mobility model.

Expected result: Positions should be in range defined in SatRandomBoxPositionAllocator.

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

Constructor & Destructor Documentation

◆ SatMobilityRandomTestCase()

SatMobilityRandomTestCase::SatMobilityRandomTestCase ( )

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

◆ ~SatMobilityRandomTestCase()

SatMobilityRandomTestCase::~SatMobilityRandomTestCase ( )
virtual

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

Member Function Documentation

◆ DoRun()

void SatMobilityRandomTestCase::DoRun ( void  )
privatevirtual

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

References SatCourseChange().

+ Here is the call graph for this function:

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