CppEphem
cppephem
test
test_CEObservation.h
Go to the documentation of this file.
1
/***************************************************************************
2
* test_CEObservation.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_CEObservation_h
23
#define test_CEObservation_h
24
25
#include "
CEObservation.h
"
26
#include "CETestSuite.h"
27
28
class
test_CEObservation
:
public
CETestSuite {
29
public
:
30
test_CEObservation
();
31
virtual
~test_CEObservation
();
32
33
virtual
bool
runtests
(
void
);
34
35
/****** METHODS ******/
36
37
bool
test_constructor
(
void
);
38
bool
test_obj_return
(
void
);
39
bool
test_cache
(
void
);
40
41
private
:
42
43
/***** VARIABLES *****/
44
45
CEBody
base_body_
;
46
CEDate
base_date_
;
47
CEObserver
base_observer_
;
48
CEObservation
base_obs_
;
49
};
50
51
#endif
/* test_CEObservation_h */
test_CEObservation::test_CEObservation
test_CEObservation()
Default constructor.
Definition:
test_CEObservation.cpp:35
CEDate
Definition:
CEDate.h:43
test_CEObservation::runtests
virtual bool runtests(void)
Run tests.
Definition:
test_CEObservation.cpp:70
test_CEObservation::base_date_
CEDate base_date_
Definition:
test_CEObservation.h:63
test_CEObservation::~test_CEObservation
virtual ~test_CEObservation()
Destructor.
Definition:
test_CEObservation.cpp:61
CEObservation.h
test_CEObservation::base_obs_
CEObservation base_obs_
Definition:
test_CEObservation.h:65
test_CEObservation::base_body_
CEBody base_body_
Definition:
test_CEObservation.h:62
test_CEObservation::test_cache
bool test_cache(void)
Tests accessing and updating of cached parameters.
Definition:
test_CEObservation.cpp:155
test_CEObservation::test_obj_return
bool test_obj_return(void)
Tests accessing underlying observer, date, and object classes.
Definition:
test_CEObservation.cpp:121
CEObserver
Definition:
CEObserver.h:28
test_CEObservation
Definition:
test_CEObservation.h:27
CEObservation
Definition:
CEObservation.h:33
CEBody
Definition:
CEBody.h:39
test_CEObservation::test_constructor
bool test_constructor(void)
Tests constructing a CEObservation object.
Definition:
test_CEObservation.cpp:87
test_CEObservation::base_observer_
CEObserver base_observer_
Definition:
test_CEObservation.h:64
Generated on Wed Aug 21 2019 12:14:12 for CppEphem by
1.8.16