CppEphem
Public Member Functions | Private Member Functions | Private Attributes | List of all members
test_CESkyCoord Class Reference

Definition at line 29 of file test_CESkyCoord.h.

Public Member Functions

virtual bool runtests ()
 Run tests. More...
 
virtual bool test_AngularSeparation (void)
 Test computation of angular separation. More...
 
 test_CESkyCoord ()
 Default constructor. More...
 
virtual bool test_construct (void)
 Test generic constructors. More...
 
virtual bool test_Convert2Cirs (void)
 Test ability to set coordinates as CIRS. More...
 
virtual bool test_Convert2Ecliptic (void)
 Test ability to convert to Ecliptic. More...
 
virtual bool test_Convert2Galactic (void)
 Test ability to convert to Galactic. More...
 
virtual bool test_Convert2Icrs (void)
 Test ability to convert to ICRS. More...
 
virtual bool test_Convert2Observed (void)
 Test ability to convert to Observed. More...
 
virtual bool test_ConvertTo (void)
 Tests the CESkyCoord::ConvertTo methods. More...
 
virtual bool test_copy (void)
 Test ability to copy coordinates. More...
 
virtual ~test_CESkyCoord ()
 Destructor. More...
 

Private Member Functions

virtual bool test_coords (const CESkyCoord &test, const CESkyCoord &expected, const std::string &func, const int &line)
 Tests two coordinates are equal and print some help if they aren't. More...
 

Private Attributes

CESkyCoord base_cirs_
 
CEDate base_date_
 
CESkyCoord base_ecl_
 
CESkyCoord base_gal_
 
CESkyCoord base_icrs_
 
CESkyCoord base_obs_
 
CEObserver base_observer_
 

#include <test_CESkyCoord.h>

Inheritance diagram for test_CESkyCoord:
Inheritance graph
[legend]
Collaboration diagram for test_CESkyCoord:
Collaboration graph
[legend]

Constructor & Destructor Documentation

◆ test_CESkyCoord()

test_CESkyCoord::test_CESkyCoord ( )

Default constructor.

Definition at line 31 of file test_CESkyCoord.cpp.

◆ ~test_CESkyCoord()

test_CESkyCoord::~test_CESkyCoord ( )
virtual

Destructor.

Definition at line 73 of file test_CESkyCoord.cpp.

Member Function Documentation

◆ runtests()

bool test_CESkyCoord::runtests ( void  )
virtual

Run tests.

Returns
whether or not all tests succeeded

Definition at line 82 of file test_CESkyCoord.cpp.

◆ test_AngularSeparation()

bool test_CESkyCoord::test_AngularSeparation ( void  )
virtual

Test computation of angular separation.

Definition at line 387 of file test_CESkyCoord.cpp.

◆ test_construct()

bool test_CESkyCoord::test_construct ( void  )
virtual

Test generic constructors.

Definition at line 107 of file test_CESkyCoord.cpp.

◆ test_Convert2Cirs()

bool test_CESkyCoord::test_Convert2Cirs ( void  )
virtual

Test ability to set coordinates as CIRS.

Definition at line 183 of file test_CESkyCoord.cpp.

◆ test_Convert2Ecliptic()

bool test_CESkyCoord::test_Convert2Ecliptic ( void  )
virtual

Test ability to convert to Ecliptic.

Definition at line 349 of file test_CESkyCoord.cpp.

◆ test_Convert2Galactic()

bool test_CESkyCoord::test_Convert2Galactic ( void  )
virtual

Test ability to convert to Galactic.

Definition at line 264 of file test_CESkyCoord.cpp.

◆ test_Convert2Icrs()

bool test_CESkyCoord::test_Convert2Icrs ( void  )
virtual

Test ability to convert to ICRS.

Definition at line 224 of file test_CESkyCoord.cpp.

◆ test_Convert2Observed()

bool test_CESkyCoord::test_Convert2Observed ( void  )
virtual

Test ability to convert to Observed.

Definition at line 305 of file test_CESkyCoord.cpp.

◆ test_ConvertTo()

bool test_CESkyCoord::test_ConvertTo ( void  )
virtual

Tests the CESkyCoord::ConvertTo methods.

Definition at line 428 of file test_CESkyCoord.cpp.

◆ test_coords()

bool test_CESkyCoord::test_coords ( const CESkyCoord test,
const CESkyCoord expected,
const std::string &  func,
const int &  line 
)
privatevirtual

Tests two coordinates are equal and print some help if they aren't.

Definition at line 463 of file test_CESkyCoord.cpp.

◆ test_copy()

bool test_CESkyCoord::test_copy ( void  )
virtual

Test ability to copy coordinates.

Definition at line 148 of file test_CESkyCoord.cpp.

Member Data Documentation

◆ base_cirs_

CESkyCoord test_CESkyCoord::base_cirs_
private

Definition at line 74 of file test_CESkyCoord.h.

◆ base_date_

CEDate test_CESkyCoord::base_date_
private

Definition at line 79 of file test_CESkyCoord.h.

◆ base_ecl_

CESkyCoord test_CESkyCoord::base_ecl_
private

Definition at line 78 of file test_CESkyCoord.h.

◆ base_gal_

CESkyCoord test_CESkyCoord::base_gal_
private

Definition at line 76 of file test_CESkyCoord.h.

◆ base_icrs_

CESkyCoord test_CESkyCoord::base_icrs_
private

Definition at line 75 of file test_CESkyCoord.h.

◆ base_obs_

CESkyCoord test_CESkyCoord::base_obs_
private

Definition at line 77 of file test_CESkyCoord.h.

◆ base_observer_

CEObserver test_CESkyCoord::base_observer_
private

Definition at line 80 of file test_CESkyCoord.h.


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