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

Definition at line 29 of file test_CECoordinates.h.

Public Member Functions

virtual bool runtests ()
 Run tests. More...
 
virtual bool test_AngularSeparation (void)
 Test computation of angular separation. More...
 
 test_CECoordinates ()
 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_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 CECoordinates::ConvrtTo methods. More...
 
virtual bool test_copy (void)
 Test ability to copy coordinates. More...
 
virtual bool test_HmsDms2Angle (void)
 Test conversions between HMS and DMS to angle and back. More...
 
virtual ~test_CECoordinates ()
 Destructor. More...
 

Private Member Functions

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

Private Attributes

CECoordinates base_cirs_
 
CEDate base_date_
 
CECoordinates base_gal_
 
CECoordinates base_icrs_
 
CECoordinates base_obs_
 
CEObserver base_observer_
 

#include <test_CECoordinates.h>

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

Constructor & Destructor Documentation

◆ test_CECoordinates()

test_CECoordinates::test_CECoordinates ( )

Default constructor.

Definition at line 30 of file test_CECoordinates.cpp.

◆ ~test_CECoordinates()

test_CECoordinates::~test_CECoordinates ( )
virtual

Destructor.

Definition at line 69 of file test_CECoordinates.cpp.

Member Function Documentation

◆ runtests()

bool test_CECoordinates::runtests ( )
virtual

Run tests.

Returns
whether or not all tests succeeded

Definition at line 78 of file test_CECoordinates.cpp.

◆ test_AngularSeparation()

bool test_CECoordinates::test_AngularSeparation ( void  )
virtual

Test computation of angular separation.

Definition at line 544 of file test_CECoordinates.cpp.

◆ test_construct()

bool test_CECoordinates::test_construct ( void  )
virtual

Test generic constructors.

Definition at line 103 of file test_CECoordinates.cpp.

◆ test_Convert2Cirs()

bool test_CECoordinates::test_Convert2Cirs ( void  )
virtual

Test ability to set coordinates as CIRS.

Definition at line 183 of file test_CECoordinates.cpp.

◆ test_Convert2Galactic()

bool test_CECoordinates::test_Convert2Galactic ( void  )
virtual

Test ability to convert to Galactic.

Definition at line 329 of file test_CECoordinates.cpp.

◆ test_Convert2Icrs()

bool test_CECoordinates::test_Convert2Icrs ( void  )
virtual

Test ability to convert to ICRS.

Definition at line 269 of file test_CECoordinates.cpp.

◆ test_Convert2Observed()

bool test_CECoordinates::test_Convert2Observed ( void  )
virtual

Test ability to convert to Observed.

Definition at line 393 of file test_CECoordinates.cpp.

◆ test_ConvertTo()

bool test_CECoordinates::test_ConvertTo ( void  )
virtual

Tests the CECoordinates::ConvrtTo methods.

Definition at line 573 of file test_CECoordinates.cpp.

◆ test_coords()

bool test_CECoordinates::test_coords ( const CECoordinates test,
const CECoordinates 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 608 of file test_CECoordinates.cpp.

◆ test_copy()

bool test_CECoordinates::test_copy ( void  )
virtual

Test ability to copy coordinates.

Definition at line 148 of file test_CECoordinates.cpp.

◆ test_HmsDms2Angle()

bool test_CECoordinates::test_HmsDms2Angle ( void  )
virtual

Test conversions between HMS and DMS to angle and back.

Definition at line 502 of file test_CECoordinates.cpp.

Member Data Documentation

◆ base_cirs_

CECoordinates test_CECoordinates::base_cirs_
private

Definition at line 74 of file test_CECoordinates.h.

◆ base_date_

CEDate test_CECoordinates::base_date_
private

Definition at line 78 of file test_CECoordinates.h.

◆ base_gal_

CECoordinates test_CECoordinates::base_gal_
private

Definition at line 76 of file test_CECoordinates.h.

◆ base_icrs_

CECoordinates test_CECoordinates::base_icrs_
private

Definition at line 75 of file test_CECoordinates.h.

◆ base_obs_

CECoordinates test_CECoordinates::base_obs_
private

Definition at line 77 of file test_CECoordinates.h.

◆ base_observer_

CEObserver test_CECoordinates::base_observer_
private

Definition at line 79 of file test_CECoordinates.h.


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