CppEphem
test_CERunningDate.h
Go to the documentation of this file.
1 /***************************************************************************
2  * test_CERunningDate.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_CERunningDate_h
23 #define test_CERunningDate_h
24 
25 #include "CERunningDate.h"
26 #include "CETestSuite.h"
27 
28 class test_CERunningDate : public CETestSuite {
29 public:
31  virtual ~test_CERunningDate();
32 
33  virtual bool runtests();
34 
35  /****** METHODS ******/
36 
37  virtual bool test_construct(void);
38  virtual bool test_timer_manip(void);
39 
40 private:
43  long long naptime_ms_;
44  std::chrono::milliseconds naptime_;
45 
46 };
47 
48 #endif /* test_CERunningDate_h */
test_CERunningDate::base_
CERunningDate base_
Definition: test_CERunningDate.h:59
CERunningDate
Definition: CERunningDate.h:29
test_CERunningDate::runtests
virtual bool runtests()
Run tests.
Definition: test_CERunningDate.cpp:57
test_CERunningDate::test_construct
virtual bool test_construct(void)
Test constructors.
Definition: test_CERunningDate.cpp:74
CEDate
Definition: CEDate.h:43
test_CERunningDate
Definition: test_CERunningDate.h:27
test_CERunningDate::test_CERunningDate
test_CERunningDate()
Default constructor.
Definition: test_CERunningDate.cpp:31
test_CERunningDate::test_timer_manip
virtual bool test_timer_manip(void)
Test manipulating the timer.
Definition: test_CERunningDate.cpp:99
test_CERunningDate::~test_CERunningDate
virtual ~test_CERunningDate()
Destructor.
Definition: test_CERunningDate.cpp:48
test_CERunningDate::base_date_
CEDate base_date_
Definition: test_CERunningDate.h:58
test_CERunningDate::naptime_
std::chrono::milliseconds naptime_
Definition: test_CERunningDate.h:61
CERunningDate.h
test_CERunningDate::naptime_ms_
long long naptime_ms_
Definition: test_CERunningDate.h:60