Changeset 7948 for trunk/psLib/test/astro
- Timestamp:
- Jul 20, 2006, 2:08:15 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astro/tst_psTime_01.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tst_psTime_01.c
r7707 r7948 23 23 * @author Eric Van Alst, MHPCC 24 24 * 25 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $26 * @date $Date: 2006-0 6-27 20:33:22$25 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2006-07-21 00:08:15 $ 27 27 * 28 28 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 801 801 time2 = psTimeConvert(time1,-100); 802 802 // Verify return value is NULL 803 if(time2 != time1) {803 if(time2 != NULL) { 804 804 psError(PS_ERR_UNKNOWN,true,"Did not return time for invalid type to convert to"); 805 805 return 2; … … 809 809 time2 = psTimeConvert(time1,-100); 810 810 // Verify return value is NULL 811 if(time2 != time1) {811 if(time2 != NULL) { 812 812 psError(PS_ERR_UNKNOWN,true,"Did not return time for invalid type to convert to"); 813 813 return 2; … … 817 817 time2 = psTimeConvert(time1,-100); 818 818 // Verify return value is NULL 819 if(time2 != time1) {819 if(time2 != NULL) { 820 820 psError(PS_ERR_UNKNOWN,true,"Did not return time for invalid type to convert to"); 821 821 return 2; … … 825 825 time2 = psTimeConvert(time1,PS_TIME_TAI); 826 826 // Verify return value is NULL 827 if(time2 != time1) {827 if(time2 != NULL) { 828 828 psError(PS_ERR_UNKNOWN,true,"Did not return time for invalid type to convert to"); 829 829 return 2; … … 1126 1126 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message converting from UT1"); 1127 1127 time2 = psTimeConvert(time1,PS_TIME_UTC); 1128 if(time2 != time1) {1128 if(time2 != NULL) { 1129 1129 psError(PS_ERR_UNKNOWN,true,"Did not return time for conversion from UT1"); 1130 1130 return 23;
Note:
See TracChangeset
for help on using the changeset viewer.
