CppEphem
test_CEAngle.h
Go to the documentation of this file.
1 /***************************************************************************
2  * test_CEAngle.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_CEAngle_h
23 #define test_CEAngle_h
24 
25 #include "CEAngle.h"
26 #include "CETestSuite.h"
27 
28 class test_CEAngle : public CETestSuite {
29 public:
30  test_CEAngle();
31  virtual ~test_CEAngle();
32 
33  bool runtests();
34 
35  /****** METHODS ******/
36 
37  bool test_construct(void);
38  bool test_setangle(void);
39  bool test_retrieve(void);
40 
41 private:
42 
43  CEAngle base_;
44 
45 };
46 
47 #endif /* test_CEAngle_h */
test_CEAngle::test_construct
bool test_construct(void)
Test the various constructor methods.
Definition: test_CEAngle.cpp:70
test_CEAngle::test_retrieve
bool test_retrieve(void)
Test getting the angle from multiple methods.
Definition: test_CEAngle.cpp:170
test_CEAngle::runtests
bool runtests()
Run tests.
Definition: test_CEAngle.cpp:52
CEAngle
Definition: CEAngle.h:38
test_CEAngle::base_
CEAngle base_
Definition: test_CEAngle.h:60
CEAngle.h
test_CEAngle::~test_CEAngle
virtual ~test_CEAngle()
Destructor.
Definition: test_CEAngle.cpp:43
test_CEAngle::test_setangle
bool test_setangle(void)
Test setting the angle from multiple methods representing 45 degrees.
Definition: test_CEAngle.cpp:104
test_CEAngle::test_CEAngle
test_CEAngle()
Default constructor.
Definition: test_CEAngle.cpp:32
test_CEAngle
Definition: test_CEAngle.h:27