Changeset 1327 for trunk/psLib/test/dataManip/tst_psHist02.c
- Timestamp:
- Jul 28, 2004, 5:54:52 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psHist02.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psHist02.c
r1320 r1327 66 66 67 67 myHist = psHistogramAlloc(LOWER, UPPER, numBins); 68 myHist = ps HistogramVector(myHist, myData, NULL, 0);68 myHist = psVectorHistogram(myHist, myData, NULL, 0); 69 69 70 70 for (i=0;i<numBins;i++) { … … 72 72 myHist->bounds->data.F32[i], 73 73 myHist->bounds->data.F32[i+1], 74 myHist->nums->data. S32[i]);74 myHist->nums->data.U32[i]); 75 75 } 76 76 psMemCheckCorruption(1); … … 91 91 92 92 myHist = psHistogramAlloc(LOWER, UPPER, numBins); 93 myHist = ps HistogramVector(myHist, myData, myMask, 1);93 myHist = psVectorHistogram(myHist, myData, myMask, 1); 94 94 95 95 for (i=0;i<numBins;i++) { … … 97 97 myHist->bounds->data.F32[i], 98 98 myHist->bounds->data.F32[i+1], 99 myHist->nums->data. S32[i]);99 myHist->nums->data.U32[i]); 100 100 } 101 101 psMemCheckCorruption(1); … … 112 112 printPositiveTestHeader(stdout, 113 113 "psStats functions", 114 "Calling ps HistogramVector() with various NULL inputs.");114 "Calling psVectorHistogram() with various NULL inputs."); 115 115 116 116 // Verify the return value is null and program execution doesn't stop, 117 117 // if input parameter myHist is null. 118 118 119 myHist2 = ps HistogramVector(NULL, myData, NULL, 0);119 myHist2 = psVectorHistogram(NULL, myData, NULL, 0); 120 120 if (myHist2 != NULL) { 121 121 printf("ERROR: myHist2!=NULL\n"); … … 130 130 131 131 myHist = psHistogramAlloc(LOWER, UPPER, numBins); 132 myHist = ps HistogramVector(myHist, NULL, NULL, 0);132 myHist = psVectorHistogram(myHist, NULL, NULL, 0); 133 133 if (myHist == NULL) { 134 134 printf("ERROR: myHist==NULL\n"); … … 147 147 myData->n = myData->nalloc; 148 148 myHist = psHistogramAlloc(LOWER, UPPER, numBins); 149 myHist = ps HistogramVector(myHist, NULL, NULL, 0);149 myHist = psVectorHistogram(myHist, NULL, NULL, 0); 150 150 if (myHist == NULL) { 151 151 printf("ERROR: myHist==NULL\n"); … … 157 157 printFooter(stdout, 158 158 "psStats functions", 159 "Calling ps HistogramVector() with various NULL inputs.",159 "Calling psVectorHistogram() with various NULL inputs.", 160 160 testStatus); 161 161
Note:
See TracChangeset
for help on using the changeset viewer.
