IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2177


Ignore:
Timestamp:
Oct 20, 2004, 10:03:10 AM (22 years ago)
Author:
harman
Message:

Added tests

Location:
trunk/psLib/test/astronomy
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/Makefile

    r2151 r2177  
    33##  Makefile:   test/astronomy
    44##
    5 ##  $Revision: 1.20 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-10-15 19:10:51 $
     5##  $Revision: 1.21 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-10-20 20:02:46 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2121TARGET = tst_psTime_01 \
    2222         tst_psTime_02 \
     23         tst_psTime_03 \
    2324         tst_psMetadataIO  \
    2425         tst_psMetadata_01 \
  • trunk/psLib/test/astronomy/tst_psTime_02.c

    r2048 r2177  
    66 *     A) Incorrect ISO time data
    77 *     B) Attempt to use null timeval
     8 *     C) Free data
    89 *
    910 *  @author  Ross Harman, MHPCC
    1011 *
    11  *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
    12  *  @date  $Date: 2004-10-12 01:34:09 $
     12 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
     13 *  @date  $Date: 2004-10-20 20:02:46 $
    1314 *
    1415 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3435
    3536    // Test B - Attempt to use null timeval
    36     printNegativeTestHeader(stdout,"psTime", "Attempt to use null timeval",
    37                             "Null value for timeval arg not allowed", 0);
     37    printNegativeTestHeader(stdout,"psTime", "Attempt to use null timeval", "Null value for timeval arg not allowed", 0);
    3838    psTimeFromTimeval(NULL);
    3939    printFooter(stdout, "psTime", "Attempt to use null timeval", true);
    4040
    4141
    42     // Test C - Free psMetadata
    43     printPositiveTestHeader(stdout, "psMetadata", "Test C - Free psMetadata");
     42    // Test C - Free data
     43    printPositiveTestHeader(stdout, "psTime", "Test C - Free data");
    4444    psMemCheckLeaks(0, NULL, stdout);
    4545    psMemCheckCorruption(0);
     
    4848        printf("ERROR: Found %d bad memory blocks\n", nBad);
    4949    }
    50     printFooter(stdout, "psMetadata", "Test C - Free psMetadata", true);
     50    printFooter(stdout, "psTime", "Test C - Free data", true);
     51
    5152    return 0;
    5253}
Note: See TracChangeset for help on using the changeset viewer.