A Discrete-Event Network Simulator
API
GeoToCartesianTestCase Class Reference
+ Inheritance diagram for GeoToCartesianTestCase:
+ Collaboration diagram for GeoToCartesianTestCase:

Public Member Functions

 GeoToCartesianTestCase (double latitude, double longitude, double altitude, GeographicPositions::EarthSpheroidType sphType, int i)
 
virtual ~GeoToCartesianTestCase ()
 
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()
 Destructor. More...
 
std::string GetName (void) const
 

Private Member Functions

virtual void DoRun (void)
 Implementation to actually run this TestCase. More...
 

Static Private Member Functions

static std::string Name (double latitude, double longitude, double altitude, GeographicPositions::EarthSpheroidType sphType)
 

Private Attributes

double m_altitude
 
int m_i
 
double m_latitude
 
double m_longitude
 
GeographicPositions::EarthSpheroidType m_sphType
 

Additional Inherited Members

- Public Types inherited from ns3::TestCase
enum  TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 }
 How long the test takes to execute. More...
 
- Protected Member Functions inherited from ns3::TestCase
 TestCase (std::string name)
 
void AddTestCase (TestCase *testCase, enum TestDuration duration)
 Add an individual child TestCase to this test suite. More...
 
TestCaseGetParent () const
 
bool IsStatusFailure (void) const
 
bool IsStatusSuccess (void) const
 
void SetDataDir (std::string directory)
 
void ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line)
 Log the failure of this TestCase. More...
 
bool MustAssertOnFailure (void) const
 
bool MustContinueOnFailure (void) const
 
std::string CreateDataDirFilename (std::string filename)
 
std::string CreateTempDirFilename (std::string filename)
 

Detailed Description

Definition at line 489 of file geo-to-cartesian-test.cc.

Constructor & Destructor Documentation

GeoToCartesianTestCase::GeoToCartesianTestCase ( double  latitude,
double  longitude,
double  altitude,
GeographicPositions::EarthSpheroidType  sphType,
int  i 
)

Definition at line 526 of file geo-to-cartesian-test.cc.

GeoToCartesianTestCase::~GeoToCartesianTestCase ( )
virtual

Definition at line 540 of file geo-to-cartesian-test.cc.

Member Function Documentation

void GeoToCartesianTestCase::DoRun ( void  )
privatevirtual

Implementation to actually run this TestCase.

Subclasses should override this method to conduct their tests.

Implements ns3::TestCase.

Definition at line 545 of file geo-to-cartesian-test.cc.

References m_altitude, m_i, m_latitude, m_longitude, m_sphType, NS_TEST_ASSERT_MSG_EQ_TOL, TOLERANCE, XGRS80_MATLAB, XSPHERE_MATLAB, XWGS84_MATLAB, YGRS80_MATLAB, YSPHERE_MATLAB, YWGS84_MATLAB, ZGRS80_MATLAB, ZSPHERE_MATLAB, and ZWGS84_MATLAB.

std::string GeoToCartesianTestCase::Name ( double  latitude,
double  longitude,
double  altitude,
GeographicPositions::EarthSpheroidType  sphType 
)
staticprivate

Definition at line 513 of file geo-to-cartesian-test.cc.

Member Data Documentation

double GeoToCartesianTestCase::m_altitude
private

Definition at line 507 of file geo-to-cartesian-test.cc.

Referenced by DoRun().

int GeoToCartesianTestCase::m_i
private

Definition at line 509 of file geo-to-cartesian-test.cc.

Referenced by DoRun().

double GeoToCartesianTestCase::m_latitude
private

Definition at line 505 of file geo-to-cartesian-test.cc.

Referenced by DoRun().

double GeoToCartesianTestCase::m_longitude
private

Definition at line 506 of file geo-to-cartesian-test.cc.

Referenced by DoRun().

GeographicPositions::EarthSpheroidType GeoToCartesianTestCase::m_sphType
private

Definition at line 508 of file geo-to-cartesian-test.cc.

Referenced by DoRun().


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