IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 10, 2007, 11:09:31 AM (19 years ago)
Author:
gusciora
Message:

This is a fairly large checkin. Most of the files were modified so they have
the same basic structure and format for testing: reporting errors, checking
memory leaks etc. Several bug fixes are included as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tap_psStats09.c

    r11686 r12781  
    115115        for (psS32 i=0;i<numData;i++) {
    116116            errors->data.F32[i] = ERRORS;
    117             errors->n++;
    118117        }
    119118    }
     
    125124        for (psS32 i=0;i<numData;i++) {
    126125            errors->data.F64[i] = ERRORS;
    127             errors->n++;
    128126        }
    129127    }
     
    135133        for (psS32 i=0;i<numData;i++) {
    136134            errors->data.S8[i] = (psS8) ERRORS;
    137             errors->n++;
    138135        }
    139136    }
     
    145142        for (psS32 i=0;i<numData;i++) {
    146143            errors->data.U16[i] = (psU16) ERRORS;
    147             errors->n++;
    148144        }
    149145    }
     
    155151        for (psS32 i=0;i<numData;i++) {
    156152            errors->data.S32[i] = (psS32) ERRORS;
    157             errors->n++;
    158153        }
    159154    }
     
    171166        for (psS32 i=0;i<numData;i++) {
    172167            mask->data.U8[i] = (psU8) 0;
    173             mask->n++;
    174168        }
    175169    }
     
    181175        for (psS32 i=0;i<numData;i++) {
    182176            mask->data.S32[i] = (psS32) 0;
    183             mask->n++;
    184177        }
    185178    }
     
    282275        bool rc = psVectorStats(myStats, in, errors, outliers, 1);
    283276        if (rc == false) {
    284             diag("TEST ERROR: the psVectorStats() function returned NULL.\n");
     277            diag("TEST ERROR: the psVectorStats() function returned NULL (a).\n");
    285278            testStatus = false;
    286279        } else {
     
    301294    if (rc == false) {
    302295        if (expectedRC == true) {
    303             diag("TEST ERROR: the psVectorStats() function returned NULL.\n");
     296            diag("TEST ERROR: the psVectorStats() function returned NULL (b).\n");
    304297            testStatus = false;
    305298        }
Note: See TracChangeset for help on using the changeset viewer.