Changeset 2226 for trunk/psLib/test/dataManip
- Timestamp:
- Oct 27, 2004, 2:45:44 PM (22 years ago)
- Location:
- trunk/psLib/test/dataManip
- Files:
-
- 2 edited
-
tst_psHist02.c (modified) (3 diffs)
-
tst_psStats00.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psHist02.c
r2204 r2226 114 114 "Calling psVectorHistogram() with various NULL inputs." ); 115 115 116 117 118 // ******************************************************************** 116 119 // Verify the return value is null and program execution doesn't stop, 117 120 // if input parameter myHist is null. … … 125 128 126 129 127 // Verify the retrun value is the same as the input parameter myHist and 130 // ******************************************************************** 131 // Verify the return value is the same as the input parameter myHist and 128 132 // program execution doesn't stop, if the input parameter myArray is 129 133 // null. … … 138 142 139 143 144 exit(0); 145 // ******************************************************************** 140 146 // Verify the return value is the same as the input parameter myHist and 141 147 // program execution doesn't stop, if the input parameter myArray has no -
trunk/psLib/test/dataManip/tst_psStats00.c
r2204 r2226 11 11 { 12 12 psStats *myStats = NULL; 13 psStats *myStats2 = NULL;14 13 psS32 testStatus = true; 15 14 psS32 globalTestStatus = true; … … 164 163 "PS_STAT_SAMPLE_MEAN: with vector mask=3", 165 164 testStatus); 165 166 166 /*************************************************************************/ 167 167 /* Call psVectorStats() with NULL inputs. */ 168 168 /*************************************************************************/ 169 169 170 printPositiveTestHeader(stdout, 170 171 "psStats functions", … … 172 173 173 174 myStats = psVectorStats(myStats, NULL, NULL, 0); 174 myStats2 = psVectorStats(NULL, myVector, NULL, 0);175 psStats *myStats2 = psVectorStats(NULL, myVector, NULL, 0); 175 176 176 177 printFooter(stdout, … … 195 196 psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks); 196 197 } 198 psFree(myStats2); 197 199 198 200 printFooter(stdout,
Note:
See TracChangeset
for help on using the changeset viewer.
