CppEphem
cppephem
test
test_CEBody.h
Go to the documentation of this file.
1
/***************************************************************************
2
* test_CEBody.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_CEBody_h
23
#define test_CEBody_h
24
25
#include "
CEBody.h
"
26
#include "CETestSuite.h"
27
28
class
test_CEBody
:
public
CETestSuite {
29
public
:
30
test_CEBody
();
31
virtual
~test_CEBody
();
32
33
virtual
bool
runtests
();
34
35
/****** METHODS ******/
36
37
virtual
bool
test_construct
(
void
);
38
virtual
bool
test_Name
(
void
);
39
virtual
bool
test_GetCoordinates
(
void
);
40
41
private
:
42
43
CEBody
base_
;
44
45
};
46
47
#endif
/* test_CEBody_h */
test_CEBody::test_construct
virtual bool test_construct(void)
Test the various constructor methods.
Definition:
test_CEBody.cpp:68
test_CEBody::test_CEBody
test_CEBody()
Default constructor.
Definition:
test_CEBody.cpp:29
test_CEBody
Definition:
test_CEBody.h:27
test_CEBody::base_
CEBody base_
Definition:
test_CEBody.h:60
test_CEBody::test_Name
virtual bool test_Name(void)
Test getting the CEBody object's name.
Definition:
test_CEBody.cpp:105
test_CEBody::test_GetCoordinates
virtual bool test_GetCoordinates(void)
Run tests.
Definition:
test_CEBody.cpp:125
test_CEBody::~test_CEBody
virtual ~test_CEBody()
Destructor.
Definition:
test_CEBody.cpp:41
test_CEBody::runtests
virtual bool runtests()
Run tests.
Definition:
test_CEBody.cpp:50
CEBody.h
CEBody
Definition:
CEBody.h:39
Generated on Wed Aug 21 2019 12:14:12 for CppEphem by
1.8.16