IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psStats07.c

    r2198 r2204  
    1515#define ERROR_TOLERANCE 0.10
    1616
    17 int t00()
     17psS32 t00()
    1818{
    1919    psStats * myStats = NULL;
    20     int testStatus = true;
    21     int globalTestStatus = true;
    22     int i = 0;
     20    psS32 testStatus = true;
     21    psS32 globalTestStatus = true;
     22    psS32 i = 0;
    2323    psVector *myVector = NULL;
    2424    psVector *maskVector = NULL;
     
    2626    // They must be changed if we adjust the number of data points.
    2727    // We don't really know that they are correct.
    28     int count = 0;
    29     int currentId = psMemGetId();
    30     int memLeaks = 0;
     28    psS32 count = 0;
     29    psS32 currentId = psMemGetId();
     30    psS32 memLeaks = 0;
    3131    float realMeanNoMask = MEAN;
    3232    float realMedianNoMask = MEAN;
     
    3535    float realLQNoMask = MEAN - ( 0.6 * STDEV );
    3636    float realUQNoMask = MEAN + ( 0.6 * STDEV );
    37     int realN50NoMask = N / 4;
    38     int realNfitNoMask = N / 4;
     37    psS32 realN50NoMask = N / 4;
     38    psS32 realNfitNoMask = N / 4;
    3939
    4040    psTraceSetLevel(".psLib.dataManip.psStats", 10);
     
    253253
    254254
    255 int t01()
     255psS32 t01()
    256256{
    257257    psStats * myStats = NULL;
    258     int testStatus = true;
    259     int globalTestStatus = true;
    260     int i = 0;
     258    psS32 testStatus = true;
     259    psS32 globalTestStatus = true;
     260    psS32 i = 0;
    261261    psVector *myVector = NULL;
    262262    psVector *maskVector = NULL;
     
    264264    // A: They must be changed if we adjust the number of data points.
    265265    // B: We don't really know that they are correct.
    266     int count = 0;
    267     int currentId = psMemGetId();
    268     int memLeaks = 0;
     266    psS32 count = 0;
     267    psS32 currentId = psMemGetId();
     268    psS32 memLeaks = 0;
    269269    float realMeanWithMask = MEAN;
    270270    float realMedianWithMask = MEAN;
     
    273273    float realLQWithMask = MEAN;
    274274    float realUQWithMask = MEAN;
    275     int realN50WithMask = N / 4;
    276     int realNfitWithMask = N / 4;
     275    psS32 realN50WithMask = N / 4;
     276    psS32 realNfitWithMask = N / 4;
    277277
    278278    psTraceSetLevel(".psLib.dataManip.psStats", 10);
     
    487487}
    488488
    489 int main()
     489psS32 main()
    490490{
    491491    t00();
Note: See TracChangeset for help on using the changeset viewer.