IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 11, 2004, 3:34:09 PM (22 years ago)
Author:
desonia
Message:

adjusted the psTime functions to conform to SDRS and made psGrommitAlloc
set all the inputs to slaAoppa function.

File:
1 edited

Legend:

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

    r2024 r2048  
    99 *  @author  Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
    12  *  @date  $Date: 2004-10-08 22:58:47 $
     11 *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
     12 *  @date  $Date: 2004-10-12 01:34:09 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2424    // Test A - Incorrect ISO time data
    2525    printNegativeTestHeader(stdout,"psTime", "Incorrect ISO time data", "Time not allowed", 0);
    26     psISOToTime("2004-99-21T18:22:24.272Z");
    27     psISOToTime("2004-07-99T18:22:24.272Z");
    28     psISOToTime("2004-07-21T99:22:24.272Z");
    29     psISOToTime("2004-07-21T18:99:24.272Z");
    30     psISOToTime("2004-07-21T18:22:99.272Z");
    31     psISOToTime("2004-07-21T18:22:24.-999Z");
     26    psTimeFromISOTime("2004-99-21T18:22:24.272Z");
     27    psTimeFromISOTime("2004-07-99T18:22:24.272Z");
     28    psTimeFromISOTime("2004-07-21T99:22:24.272Z");
     29    psTimeFromISOTime("2004-07-21T18:99:24.272Z");
     30    psTimeFromISOTime("2004-07-21T18:22:99.272Z");
     31    psTimeFromISOTime("2004-07-21T18:22:24.-999Z");
    3232    printFooter(stdout, "psTime", "Incorrect ISO time data", true);
    3333
     
    3636    printNegativeTestHeader(stdout,"psTime", "Attempt to use null timeval",
    3737                            "Null value for timeval arg not allowed", 0);
    38     psTimevalToTime(NULL);
     38    psTimeFromTimeval(NULL);
    3939    printFooter(stdout, "psTime", "Attempt to use null timeval", true);
    4040
Note: See TracChangeset for help on using the changeset viewer.