GeoCoordinateTestCase Class Reference

Test case to unit test that GeoCoordinate can be created with valid values. More...

+ Inheritance diagram for GeoCoordinateTestCase:
+ Collaboration diagram for GeoCoordinateTestCase:

Public Member Functions

 GeoCoordinateTestCase ()
 
virtual ~GeoCoordinateTestCase ()
 

Private Member Functions

virtual void DoRun (void)
 
void Validate (GeoCoordinate &coord1, GeoCoordinate &coord2)
 

Detailed Description

Test case to unit test that GeoCoordinate can be created with valid values.

Definition at line 60 of file satellite-geo-coordinate-test.cc.

Constructor & Destructor Documentation

◆ GeoCoordinateTestCase()

GeoCoordinateTestCase::GeoCoordinateTestCase ( )

Definition at line 71 of file satellite-geo-coordinate-test.cc.

◆ ~GeoCoordinateTestCase()

GeoCoordinateTestCase::~GeoCoordinateTestCase ( )
virtual

Definition at line 76 of file satellite-geo-coordinate-test.cc.

Member Function Documentation

◆ DoRun()

void GeoCoordinateTestCase::DoRun ( void  )
privatevirtual

Definition at line 81 of file satellite-geo-coordinate-test.cc.

References ns3::GeoCoordinate::ToVector(), and Validate().

+ Here is the call graph for this function:

◆ Validate()

void GeoCoordinateTestCase::Validate ( GeoCoordinate coord1,
GeoCoordinate coord2 
)
private

Definition at line 117 of file satellite-geo-coordinate-test.cc.

References ns3::GeoCoordinate::GetAltitude(), ns3::GeoCoordinate::GetLatitude(), and ns3::GeoCoordinate::GetLongitude().

Referenced by DoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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