Changeset 7071 for trunk/psLib/test/mathtypes
- Timestamp:
- May 4, 2006, 4:48:35 PM (20 years ago)
- Location:
- trunk/psLib/test/mathtypes
- Files:
-
- 2 edited
-
tst_psVectorSort_01.c (modified) (3 diffs)
-
verified/tst_psVectorSort_01.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/mathtypes/tst_psVectorSort_01.c
r7043 r7071 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-05-0 2 22:35:52$14 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-05-05 02:48:35 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 165 165 // } 166 166 if (out != NULL) { 167 if (out->n != 0) { 168 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 169 "psVectorSort failed to correctly return a 0-length vector.\n"); 170 return 12; 171 } 172 } else { 167 173 psError(PS_ERR_BAD_PARAMETER_NULL, true, 168 "psVectorSort failed to return a NULL vector for 0-length input vector.\n");169 return 666;174 "psVectorSort returned a NULL vector instead of expected vector with n=0.\n"); 175 return 13; 170 176 } 171 177 /* if(out->n != 0) { … … 174 180 } 175 181 */ 182 psFree(out); 176 183 printFooter(stdout,"psVectorSort","Sort zero element vector",true); 177 184 -
trunk/psLib/test/mathtypes/verified/tst_psVectorSort_01.stderr
r7046 r7071 5 5 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO) 6 6 Error in psVectorSort: psVectorCopy returned NULL vector! 7 <DATE><TIME>|<HOST>|W|psVectorCopy (FILE:LINENO)8 Warning: psVector was copied with 0 elements!9 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO)10 Error in psVectorSort: Vector has less than 2 data entries!
Note:
See TracChangeset
for help on using the changeset viewer.
