CppEphem
test_CETime.h
Go to the documentation of this file.
1 /***************************************************************************
2  * test_CETime.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_CETime_h
23 #define test_CETime_h
24 
25 #include "CETime.h"
26 #include "CETestSuite.h"
27 
28 class test_CETime : public CETestSuite {
29 public:
30  test_CETime();
31  virtual ~test_CETime();
32 
33  virtual bool runtests();
34 
35  /****** METHODS ******/
36 
37  virtual bool test_construct(void);
38 
39 private:
40  CETime base_;
41  std::chrono::milliseconds naptime_;
42 
43 };
44 
45 #endif /* test_CETime_h */
CETime
Definition: CETime.h:37
CETime.h
test_CETime::base_
CETime base_
Definition: test_CETime.h:57
test_CETime::runtests
virtual bool runtests()
Run tests.
Definition: test_CETime.cpp:57
test_CETime::test_construct
virtual bool test_construct(void)
Test constructors.
Definition: test_CETime.cpp:73
test_CETime::naptime_
std::chrono::milliseconds naptime_
Definition: test_CETime.h:58
test_CETime::test_CETime
test_CETime()
Default constructor.
Definition: test_CETime.cpp:32
test_CETime::~test_CETime
virtual ~test_CETime()
Destructor.
Definition: test_CETime.cpp:48
test_CETime
Definition: test_CETime.h:27