IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 5, 2004, 8:53:36 AM (22 years ago)
Author:
evanalst
Message:

Add case for invalid mask type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/tst_psImageStats00.c

    r1948 r1956  
    179179    }
    180180
    181     myHist2 = psImageHistogram(NULL,tmpImage,tmpMask,1);
     181    psLogMsg(__func__,PS_LOG_INFO,"Following should be an error for invalid mask type.");
     182    myHist2 = psImageHistogram(myHist,tmpImage,tmpMask,1);
    182183    if (myHist2 != NULL) {
    183184        printf("ERROR: myHist2 not equal to NULL\n");
     
    187188
    188189    psMemCheckCorruption( 1 );
    189     psFree( myHist );
    190190    psFree( tmpImage );
    191191    psMemCheckCorruption( 1 );
Note: See TracChangeset for help on using the changeset viewer.