Changeset 12607 for trunk/psLib/test/astro/tap_psTime_02.c
- Timestamp:
- Mar 27, 2007, 12:52:03 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astro/tap_psTime_02.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tap_psTime_02.c
r12413 r12607 12 12 * @author Eric Van Alst, MHPCC 13 13 * 14 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2007-03- 13 00:02:14$14 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2007-03-27 22:52:02 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 66 66 67 67 psF64 lmst = psTimeToLMST(NULL, 0); 68 ok_double(lmst, NAN, "psTimeToLMST(time,0) returned NAN");68 is_double(lmst, NAN, "psTimeToLMST(time,0) returned NAN"); 69 69 70 70 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks"); … … 82 82 83 83 psF64 lmst = psTimeToLMST(time, 0.0); 84 ok_double_tol(lmst, testTime1LMST0, ERROR_TOL, "psTimeToLMST() returned the correct time");84 is_double_tol(lmst, testTime1LMST0, ERROR_TOL, "psTimeToLMST() returned the correct time"); 85 85 86 86 psFree(time); … … 102 102 103 103 psF64 lmst = psTimeToLMST(time,0.0); 104 ok_double(lmst, NAN, "psTimeToLMST() generated a NAN for incorrect type");104 is_double(lmst, NAN, "psTimeToLMST() generated a NAN for incorrect type"); 105 105 106 106 psFree(time);
Note:
See TracChangeset
for help on using the changeset viewer.
