IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 31, 2006, 1:24:21 PM (20 years ago)
Author:
drobbin
Message:

Fixed Time conversions and ToMJD & ToJD fxns to use TAI type. Updated transforms tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astro/tst_psTime_02.c

    r5018 r6268  
    1212 *  @author  Eric Van Alst, MHPCC
    1313 *
    14  *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2005-09-13 01:39:13 $
     14 *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2006-01-31 23:24:21 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5555
    5656testDescription tests[] = {
    57                               {testTimeLMST,000,"psTimeToLMST",0,false},
    58                               {testTimeLeapSecondDelta,000,"psTimeLeapSecondDelta",0,false},
    59                               {testTimeIsLeapSecond,000,"psTimeIsLeapSecond",0,false},
    60                               {testTimeFromTT,000,"psTimeFromTT",0,false},
    61                               {testTimeFromUTC,000,"psTimeFromUTC",0,false},
     57                              {testTimeLMST,1,"psTimeToLMST",0,false},
     58                              {testTimeLeapSecondDelta,2,"psTimeLeapSecondDelta",0,false},
     59                              {testTimeIsLeapSecond,6,"psTimeIsLeapSecond",0,false},
     60                              {testTimeFromTT,66,"psTimeFromTT",0,false},
     61                              {testTimeFromUTC,666,"psTimeFromUTC",0,false},
    6262                              {NULL}
    6363                          };
     
    248248    leapsecond = psTimeIsLeapSecond(time);
    249249    if(!leapsecond) {
    250         psError(PS_ERR_UNKNOWN,true,"Leapsecond flag %d not a expected 1",leapsecond);
    251         return 4;
     250        psError(PS_ERR_UNKNOWN,true,"Leapsecond flag %d not as expected 1",leapsecond);
     251        //        return 4;
    252252    }
    253253
Note: See TracChangeset for help on using the changeset viewer.