Changeset 12781 for trunk/psLib/test/math/tap_psStats09.c
- Timestamp:
- Apr 10, 2007, 11:09:31 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/math/tap_psStats09.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tap_psStats09.c
r11686 r12781 115 115 for (psS32 i=0;i<numData;i++) { 116 116 errors->data.F32[i] = ERRORS; 117 errors->n++;118 117 } 119 118 } … … 125 124 for (psS32 i=0;i<numData;i++) { 126 125 errors->data.F64[i] = ERRORS; 127 errors->n++;128 126 } 129 127 } … … 135 133 for (psS32 i=0;i<numData;i++) { 136 134 errors->data.S8[i] = (psS8) ERRORS; 137 errors->n++;138 135 } 139 136 } … … 145 142 for (psS32 i=0;i<numData;i++) { 146 143 errors->data.U16[i] = (psU16) ERRORS; 147 errors->n++;148 144 } 149 145 } … … 155 151 for (psS32 i=0;i<numData;i++) { 156 152 errors->data.S32[i] = (psS32) ERRORS; 157 errors->n++;158 153 } 159 154 } … … 171 166 for (psS32 i=0;i<numData;i++) { 172 167 mask->data.U8[i] = (psU8) 0; 173 mask->n++;174 168 } 175 169 } … … 181 175 for (psS32 i=0;i<numData;i++) { 182 176 mask->data.S32[i] = (psS32) 0; 183 mask->n++;184 177 } 185 178 } … … 282 275 bool rc = psVectorStats(myStats, in, errors, outliers, 1); 283 276 if (rc == false) { 284 diag("TEST ERROR: the psVectorStats() function returned NULL .\n");277 diag("TEST ERROR: the psVectorStats() function returned NULL (a).\n"); 285 278 testStatus = false; 286 279 } else { … … 301 294 if (rc == false) { 302 295 if (expectedRC == true) { 303 diag("TEST ERROR: the psVectorStats() function returned NULL .\n");296 diag("TEST ERROR: the psVectorStats() function returned NULL (b).\n"); 304 297 testStatus = false; 305 298 }
Note:
See TracChangeset
for help on using the changeset viewer.
