Changeset 2204 for trunk/psLib/test/dataManip/tst_psStats07.c
- Timestamp:
- Oct 26, 2004, 2:57:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psStats07.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psStats07.c
r2198 r2204 15 15 #define ERROR_TOLERANCE 0.10 16 16 17 intt00()17 psS32 t00() 18 18 { 19 19 psStats * myStats = NULL; 20 inttestStatus = true;21 intglobalTestStatus = true;22 inti = 0;20 psS32 testStatus = true; 21 psS32 globalTestStatus = true; 22 psS32 i = 0; 23 23 psVector *myVector = NULL; 24 24 psVector *maskVector = NULL; … … 26 26 // They must be changed if we adjust the number of data points. 27 27 // We don't really know that they are correct. 28 intcount = 0;29 intcurrentId = psMemGetId();30 intmemLeaks = 0;28 psS32 count = 0; 29 psS32 currentId = psMemGetId(); 30 psS32 memLeaks = 0; 31 31 float realMeanNoMask = MEAN; 32 32 float realMedianNoMask = MEAN; … … 35 35 float realLQNoMask = MEAN - ( 0.6 * STDEV ); 36 36 float realUQNoMask = MEAN + ( 0.6 * STDEV ); 37 intrealN50NoMask = N / 4;38 intrealNfitNoMask = N / 4;37 psS32 realN50NoMask = N / 4; 38 psS32 realNfitNoMask = N / 4; 39 39 40 40 psTraceSetLevel(".psLib.dataManip.psStats", 10); … … 253 253 254 254 255 intt01()255 psS32 t01() 256 256 { 257 257 psStats * myStats = NULL; 258 inttestStatus = true;259 intglobalTestStatus = true;260 inti = 0;258 psS32 testStatus = true; 259 psS32 globalTestStatus = true; 260 psS32 i = 0; 261 261 psVector *myVector = NULL; 262 262 psVector *maskVector = NULL; … … 264 264 // A: They must be changed if we adjust the number of data points. 265 265 // B: We don't really know that they are correct. 266 intcount = 0;267 intcurrentId = psMemGetId();268 intmemLeaks = 0;266 psS32 count = 0; 267 psS32 currentId = psMemGetId(); 268 psS32 memLeaks = 0; 269 269 float realMeanWithMask = MEAN; 270 270 float realMedianWithMask = MEAN; … … 273 273 float realLQWithMask = MEAN; 274 274 float realUQWithMask = MEAN; 275 intrealN50WithMask = N / 4;276 intrealNfitWithMask = N / 4;275 psS32 realN50WithMask = N / 4; 276 psS32 realNfitWithMask = N / 4; 277 277 278 278 psTraceSetLevel(".psLib.dataManip.psStats", 10); … … 487 487 } 488 488 489 intmain()489 psS32 main() 490 490 { 491 491 t00();
Note:
See TracChangeset
for help on using the changeset viewer.
