Changeset 2723
- Timestamp:
- Dec 15, 2004, 3:36:35 PM (22 years ago)
- Location:
- trunk/psLib/test/dataManip
- Files:
-
- 1 added
- 1 edited
-
tst_psStats00.c (modified) (1 diff)
-
verified/tst_psStats00.stderr (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psStats00.c
r2392 r2723 172 172 "PS_STAT_SAMPLE_MEAN: NULL inputs"); 173 173 174 myStats = psVectorStats(myStats, NULL, NULL, 0); 174 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message."); 175 if( psVectorStats(myStats, NULL, NULL, 0) != myStats ) { 176 psError(PS_ERR_UNKNOWN,true,"psVectorStats did not return stats when input NULL"); 177 return 10; 178 } 179 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message."); 175 180 psStats *myStats2 = psVectorStats(NULL, myVector, NULL, 0); 176 181 if ( myStats2 != NULL ) { 182 psError(PS_ERR_UNKNOWN,true,"psVectorStats did not return NULL"); 183 return 20; 184 } 177 185 printFooter(stdout, 178 186 "psVector functions",
Note:
See TracChangeset
for help on using the changeset viewer.
