CppEphem
|
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>
test_CECoordinates::test_CECoordinates | ( | ) |
Default constructor.
Definition at line 30 of file test_CECoordinates.cpp.
|
virtual |
Destructor.
Definition at line 69 of file test_CECoordinates.cpp.
|
virtual |
Run tests.
Definition at line 78 of file test_CECoordinates.cpp.
|
virtual |
Test computation of angular separation.
Definition at line 544 of file test_CECoordinates.cpp.
|
virtual |
Test generic constructors.
Definition at line 103 of file test_CECoordinates.cpp.
|
virtual |
Test ability to set coordinates as CIRS.
Definition at line 183 of file test_CECoordinates.cpp.
|
virtual |
Test ability to convert to Galactic.
Definition at line 329 of file test_CECoordinates.cpp.
|
virtual |
Test ability to convert to ICRS.
Definition at line 269 of file test_CECoordinates.cpp.
|
virtual |
Test ability to convert to Observed.
Definition at line 393 of file test_CECoordinates.cpp.
|
virtual |
Tests the CECoordinates::ConvrtTo methods.
Definition at line 573 of file test_CECoordinates.cpp.
|
privatevirtual |
Tests two coordinates are equal and print some help if they aren't.
Definition at line 608 of file test_CECoordinates.cpp.
|
virtual |
Test ability to copy coordinates.
Definition at line 148 of file test_CECoordinates.cpp.
|
virtual |
Test conversions between HMS and DMS to angle and back.
Definition at line 502 of file test_CECoordinates.cpp.
|
private |
Definition at line 74 of file test_CECoordinates.h.
|
private |
Definition at line 78 of file test_CECoordinates.h.
|
private |
Definition at line 76 of file test_CECoordinates.h.
|
private |
Definition at line 75 of file test_CECoordinates.h.
|
private |
Definition at line 77 of file test_CECoordinates.h.
|
private |
Definition at line 79 of file test_CECoordinates.h.