IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2723


Ignore:
Timestamp:
Dec 15, 2004, 3:36:35 PM (22 years ago)
Author:
evanalst
Message:

Update verified files for new error messages.

Location:
trunk/psLib/test/dataManip
Files:
1 added
1 edited

Legend:

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

    r2392 r2723  
    172172                            "PS_STAT_SAMPLE_MEAN: NULL inputs");
    173173
    174     myStats = psVectorStats(myStats, NULL, NULL, 0);
     174    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message.");
     175    if( psVectorStats(myStats, NULL, NULL, 0) != myStats ) {
     176        psError(PS_ERR_UNKNOWN,true,"psVectorStats did not return stats when input NULL");
     177        return 10;
     178    }
     179    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message.");
    175180    psStats *myStats2 = psVectorStats(NULL, myVector, NULL, 0);
    176 
     181    if ( myStats2 != NULL ) {
     182        psError(PS_ERR_UNKNOWN,true,"psVectorStats did not return NULL");
     183        return 20;
     184    }
    177185    printFooter(stdout,
    178186                "psVector functions",
Note: See TracChangeset for help on using the changeset viewer.