CppEphem
test_CEDate.h
Go to the documentation of this file.
1 /***************************************************************************
2  * test_CEDate.h: CppEphem *
3  * ----------------------------------------------------------------------- *
4  * Copyright © 2018 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_CEDate_h
23 #define test_CEDate_h
24 
25 #include "CEDate.h"
26 #include "CETestSuite.h"
27 
28 class test_CEDate : public CETestSuite {
29 public:
30  test_CEDate();
31  virtual ~test_CEDate();
32 
33  virtual bool runtests();
34 
35  /****** METHODS ******/
36 
37  virtual bool test_constructor(void);
38  virtual bool test_SetDate_JD(void);
39  virtual bool test_SetDate_MJD(void);
40  virtual bool test_Gregorian(void);
41  virtual bool test_ReturnType(void);
42  virtual bool test_support_methods(void);
43 
44 private:
45 
48 
49 };
50 
51 #endif /* test_CEDate_h */
test_CEDate::test_support_methods
virtual bool test_support_methods(void)
Test the various.
Definition: test_CEDate.cpp:200
test_CEDate::test_constructor
virtual bool test_constructor(void)
Test ability to create a CEDate object.
Definition: test_CEDate.cpp:69
test_CEDate::test_ReturnType
virtual bool test_ReturnType(void)
Test ability set the return type.
Definition: test_CEDate.cpp:176
CEDate
Definition: CEDate.h:43
test_CEDate::test_SetDate_JD
virtual bool test_SetDate_JD(void)
Test ability to set julian date.
Definition: test_CEDate.cpp:103
test_CEDate::test_date_
CEDate test_date_
Definition: test_CEDate.h:64
test_CEDate::~test_CEDate
virtual ~test_CEDate()
Destructor.
Definition: test_CEDate.cpp:41
test_CEDate::runtests
virtual bool runtests()
Run tests.
Definition: test_CEDate.cpp:50
CEDate.h
test_CEDate::base_date_
CEDate base_date_
Definition: test_CEDate.h:63
test_CEDate::test_Gregorian
virtual bool test_Gregorian(void)
Test ability to set Gregorian date.
Definition: test_CEDate.cpp:122
test_CEDate::test_SetDate_MJD
virtual bool test_SetDate_MJD(void)
Test ability to set modified julian date.
Definition: test_CEDate.cpp:112
test_CEDate::test_CEDate
test_CEDate()
Default constructor.
Definition: test_CEDate.cpp:29
test_CEDate
Definition: test_CEDate.h:27