IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1956


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

Add case for invalid mask type.

Location:
trunk/psLib/test/image
Files:
2 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 );
  • trunk/psLib/test/image/verified/tst_psImageStats00.stderr

    r1365 r1956  
     1<DATE><TIME>|<HOST>|I|main
     2    Following should be an error for invalid mask type.
     3<DATE><TIME>|<HOST>|E|psLib.image.psImageHistogram
     4    Input psImage mask type, psS8, is not the supported mask datatype of psU8.
Note: See TracChangeset for help on using the changeset viewer.