Changeset 2048 for trunk/psLib/test/astronomy/tst_psTime_02.c
- Timestamp:
- Oct 11, 2004, 3:34:09 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psTime_02.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psTime_02.c
r2024 r2048 9 9 * @author Ross Harman, MHPCC 10 10 * 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 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 24 24 // Test A - Incorrect ISO time data 25 25 printNegativeTestHeader(stdout,"psTime", "Incorrect ISO time data", "Time not allowed", 0); 26 ps ISOToTime("2004-99-21T18:22:24.272Z");27 ps ISOToTime("2004-07-99T18:22:24.272Z");28 ps ISOToTime("2004-07-21T99:22:24.272Z");29 ps ISOToTime("2004-07-21T18:99:24.272Z");30 ps ISOToTime("2004-07-21T18:22:99.272Z");31 ps ISOToTime("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"); 32 32 printFooter(stdout, "psTime", "Incorrect ISO time data", true); 33 33 … … 36 36 printNegativeTestHeader(stdout,"psTime", "Attempt to use null timeval", 37 37 "Null value for timeval arg not allowed", 0); 38 psTime valToTime(NULL);38 psTimeFromTimeval(NULL); 39 39 printFooter(stdout, "psTime", "Attempt to use null timeval", true); 40 40
Note:
See TracChangeset
for help on using the changeset viewer.
