]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/astrotst.h
ICU-6.2.13.tar.gz
[apple/icu.git] / icuSources / test / intltest / astrotst.h
CommitLineData
374ca955
A
1/********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2003, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7#ifndef __AstroTest__
8#define __AstroTest__
9
10#include "unicode/utypes.h"
11
12#if !UCONFIG_NO_FORMATTING
13
14#include "unicode/calendar.h"
15#include "unicode/gregocal.h"
16#include "unicode/smpdtfmt.h"
17#include "astro.h"
18#include "caltztst.h"
19
20class AstroTest: public CalendarTimeZoneTest {
21public:
22 // IntlTest override
23 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
24public:
25 AstroTest();
26
27 void TestSolarLongitude(void);
28
29 void TestLunarPosition(void);
30
31 void TestCoordinates(void);
32
33 void TestCoverage(void);
34
35 void TestSunriseTimes(void);
36
37 void TestBasics(void);
38 private:
39 void initAstro(UErrorCode&);
40 void closeAstro(UErrorCode&);
41
42 CalendarAstronomer *astro;
43 Calendar *gc;
44
45};
46
47#endif /* #if !UCONFIG_NO_FORMATTING */
48
49#endif // __AstroTest__