ICU-2424 fixes for windows

X-SVN-Rev: 13864
This commit is contained in:
Steven R. Loomis 2003-11-24 23:34:18 +00:00
parent 3d2fe15a68
commit d15a671219

View File

@ -96,7 +96,6 @@ void AstroTest::TestSolarLongitude(void) {
//longitude = 0;
CalendarAstronomer::Equatorial *result = astro->getSunPosition();
logln((UnicodeString)"Sun position is " + result->toString() + (UnicodeString)"; " /* + result->toHmsString()*/ + " Sun longitude is " + longitude );
delete result;
}
closeAstro(status);
ASSERT_OK(status);
@ -136,7 +135,7 @@ void AstroTest::TestCoordinates(void) {
CalendarAstronomer::Equatorial *result = astro->eclipticToEquatorial(139.686111 * CalendarAstronomer::PI / 180.0, 4.875278* CalendarAstronomer::PI / 180.0);
logln((UnicodeString)"result is " + result->toString() + (UnicodeString)"; " /* + result->toHmsString()*/ );
delete result;
// delete result;
closeAstro(status);
ASSERT_OK(status);
}
@ -178,12 +177,12 @@ void AstroTest::TestCoverage(void) {
logln((UnicodeString)" gw sidereal: " + astro->getGreenwichSidereal());
logln((UnicodeString)" loc sidereal: " + astro->getLocalSidereal());
logln((UnicodeString)" equ ecl: " + (eq=astro->eclipticToEquatorial(*ecl))->toString());
delete eq;
//delete eq;
logln((UnicodeString)" equ long: " + (eq=astro->eclipticToEquatorial(eclLong))->toString());
delete eq;
//delete eq;
CalendarAstronomer::Horizon *hor = NULL;
logln((UnicodeString)" horiz: " + (hor=astro->eclipticToHorizon(eclLong))->toString());
delete hor;
//delete hor;
logln((UnicodeString)" sunrise: " + (astro->getSunRiseSet(TRUE)));
logln((UnicodeString)" sunset: " + (astro->getSunRiseSet(FALSE)));
logln((UnicodeString)" moon phase: " + astro->getMoonPhase());