Public Member Functions | |
GeoToCartesianTestCase (double latitude, double longitude, double altitude, GeographicPositions::EarthSpheroidType sphType, int i) | |
virtual | ~GeoToCartesianTestCase () |
![]() | |
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 | |
![]() | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
Add an individual child TestCase to this test suite. More... | |
TestCase * | GetParent () 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) |
Definition at line 489 of file geo-to-cartesian-test.cc.
GeoToCartesianTestCase::GeoToCartesianTestCase | ( | double | latitude, |
double | longitude, | ||
double | altitude, | ||
GeographicPositions::EarthSpheroidType | sphType, | ||
int | i | ||
) |
Definition at line 526 of file geo-to-cartesian-test.cc.
|
virtual |
Definition at line 540 of file geo-to-cartesian-test.cc.
|
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.
|
staticprivate |
Definition at line 513 of file geo-to-cartesian-test.cc.
|
private |
Definition at line 507 of file geo-to-cartesian-test.cc.
Referenced by DoRun().
|
private |
Definition at line 509 of file geo-to-cartesian-test.cc.
Referenced by DoRun().
|
private |
Definition at line 505 of file geo-to-cartesian-test.cc.
Referenced by DoRun().
|
private |
Definition at line 506 of file geo-to-cartesian-test.cc.
Referenced by DoRun().
|
private |
Definition at line 508 of file geo-to-cartesian-test.cc.
Referenced by DoRun().