CppEphem
test_CEObserver.h
Go to the documentation of this file.
1 /***************************************************************************
2  * test_CEObserver.h: CppEphem *
3  * ----------------------------------------------------------------------- *
4  * Copyright © 2019 JCardenzana *
5  * ----------------------------------------------------------------------- *
6  * *
7  * This program is free software: you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation, either version 3 of the License, or *
10  * (at your option) any later version. *
11  * *
12  * This program is distributed in the hope that it will be useful, *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15  * GNU General Public License for more details. *
16  * *
17  * You should have received a copy of the GNU General Public License *
18  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
19  * *
20  ***************************************************************************/
21 
22 #ifndef test_CEObserver_h
23 #define test_CEObserver_h
24 
25 #include "CEObserver.h"
26 #include "CETestSuite.h"
27 
28 class test_CEObserver : public CETestSuite {
29 public:
31  virtual ~test_CEObserver();
32 
33  virtual bool runtests(void);
34 
35  /****** METHODS ******/
36  bool test_constructor(void);
37  bool test_set_geoCoords(void);
38  bool test_set_atmoPars(void);
39  bool test_time(void);
40 
41 private:
42 
43  /***** VARIABLES *****/
44 
46 };
47 
48 #endif /* test_CEObserver_h */
test_CEObserver::runtests
virtual bool runtests(void)
Run tests.
Definition: test_CEObserver.cpp:58
CEObserver.h
test_CEObserver::test_constructor
bool test_constructor(void)
Test that we can set the observer latitude,longitude coordinates.
Definition: test_CEObserver.cpp:77
test_CEObserver
Definition: test_CEObserver.h:27
test_CEObserver::base_obs_
CEObserver base_obs_
Definition: test_CEObserver.h:62
test_CEObserver::test_CEObserver
test_CEObserver()
Default constructor.
Definition: test_CEObserver.cpp:36
test_CEObserver::~test_CEObserver
virtual ~test_CEObserver()
Destructor.
Definition: test_CEObserver.cpp:49
test_CEObserver::test_set_geoCoords
bool test_set_geoCoords(void)
Test that we can set the observer latitude,longitude coordinates.
Definition: test_CEObserver.cpp:115
CEObserver
Definition: CEObserver.h:28
test_CEObserver::test_set_atmoPars
bool test_set_atmoPars(void)
Test that we can set the observer latitude,longitude coordinates.
Definition: test_CEObserver.cpp:160
test_CEObserver::test_time
bool test_time(void)
Test that the time methods are valid.
Definition: test_CEObserver.cpp:220