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

Definition at line 29 of file test_CEPlanet.h.

Public Member Functions

virtual bool runtests ()
 Run tests. More...
 
 test_CEPlanet ()
 Default constructor. More...
 
virtual bool test_construct (void)
 Test constructors. More...
 
virtual bool test_earth (void)
 Test Earth. More...
 
virtual bool test_jupiter (void)
 Test Jupiter. More...
 
virtual bool test_mars (void)
 Test Mars. More...
 
virtual bool test_mercury (void)
 Test Mercury. More...
 
virtual bool test_neptune (void)
 Test Neptune. More...
 
virtual bool test_planet (const CEPlanet &test_planet, const CESkyCoord &true_icrs, const CESkyCoord &true_obs, const std::vector< double > &true_pos, const std::vector< double > &true_vel)
 Test parameters for a given planet. More...
 
virtual bool test_saturn (void)
 Test Saturn. More...
 
virtual bool test_uranus (void)
 Test Uranus. More...
 
virtual bool test_venus (void)
 Test Venus. More...
 
virtual ~test_CEPlanet ()
 Destructor. More...
 

Private Member Functions

bool test_Planets (void)
 Compare. More...
 

Private Attributes

CEDate base_date_
 
CEObserver base_observer_
 

#include <test_CEPlanet.h>

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

Constructor & Destructor Documentation

◆ test_CEPlanet()

test_CEPlanet::test_CEPlanet ( )

Default constructor.

Definition at line 29 of file test_CEPlanet.cpp.

◆ ~test_CEPlanet()

test_CEPlanet::~test_CEPlanet ( )
virtual

Destructor.

Definition at line 52 of file test_CEPlanet.cpp.

Member Function Documentation

◆ runtests()

bool test_CEPlanet::runtests ( void  )
virtual

Run tests.

Returns
whether or not all tests succeeded

Definition at line 61 of file test_CEPlanet.cpp.

◆ test_construct()

bool test_CEPlanet::test_construct ( void  )
virtual

Test constructors.

Returns
whether the tests succeed

Definition at line 78 of file test_CEPlanet.cpp.

◆ test_earth()

bool test_CEPlanet::test_earth ( void  )
virtual

Test Earth.

Returns
whether the tests succeed

Definition at line 171 of file test_CEPlanet.cpp.

◆ test_jupiter()

bool test_CEPlanet::test_jupiter ( void  )
virtual

Test Jupiter.

Returns
whether the tests succeed

Definition at line 244 of file test_CEPlanet.cpp.

◆ test_mars()

bool test_CEPlanet::test_mars ( void  )
virtual

Test Mars.

Returns
whether the tests succeed

Definition at line 198 of file test_CEPlanet.cpp.

◆ test_mercury()

bool test_CEPlanet::test_mercury ( void  )
virtual

Test Mercury.

Returns
whether the tests succeed

Definition at line 117 of file test_CEPlanet.cpp.

◆ test_neptune()

bool test_CEPlanet::test_neptune ( void  )
virtual

Test Neptune.

Returns
whether the tests succeed

Definition at line 325 of file test_CEPlanet.cpp.

◆ test_planet()

bool test_CEPlanet::test_planet ( const CEPlanet test_planet,
const CESkyCoord true_icrs,
const CESkyCoord true_obs,
const std::vector< double > &  true_pos,
const std::vector< double > &  true_vel 
)
virtual

Test parameters for a given planet.

Parameters
[in]test_planetPlanet information to be tested
[in]true_icrsExpected observed coordinates
[in]true_posExpected physical position (AU)
[in]true_velExpected physical velocity (AU/day)
Returns
whether the tests succeed

Definition at line 357 of file test_CEPlanet.cpp.

◆ test_Planets()

bool test_CEPlanet::test_Planets ( void  )
private

Compare.

Returns
whether the tests succeed

Definition at line 432 of file test_CEPlanet.cpp.

◆ test_saturn()

bool test_CEPlanet::test_saturn ( void  )
virtual

Test Saturn.

Returns
whether the tests succeed

Definition at line 271 of file test_CEPlanet.cpp.

◆ test_uranus()

bool test_CEPlanet::test_uranus ( void  )
virtual

Test Uranus.

Returns
whether the tests succeed

Definition at line 298 of file test_CEPlanet.cpp.

◆ test_venus()

bool test_CEPlanet::test_venus ( void  )
virtual

Test Venus.

Returns
whether the tests succeed

Definition at line 144 of file test_CEPlanet.cpp.

Member Data Documentation

◆ base_date_

CEDate test_CEPlanet::base_date_
private

Definition at line 80 of file test_CEPlanet.h.

◆ base_observer_

CEObserver test_CEPlanet::base_observer_
private

Definition at line 79 of file test_CEPlanet.h.


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