IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4153


Ignore:
Timestamp:
Jun 8, 2005, 9:28:59 AM (21 years ago)
Author:
evanalst
Message:

Update test cases for psPixelsFromMask function.

Location:
trunk/psLib/test/collections
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/tst_psPixels.c

    r4152 r4153  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.4 $
     7 *  @version $Revision: 1.5 $
    88 *           $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-06-08 19:08:22 $
     9 *  @date $Date: 2005-06-08 19:28:59 $
    1010 *
    1111 *  Copyright 2005 Maui High Performance Computing Center, University of Hawaii
     
    356356
    357357    // test when input psPixels is NULL.
     358    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for NULL pixels");
    358359    mask = psPixelsToMask(mask, NULL, psRegionSet(0,10,0,10), 1);
    359360    if (mask != NULL) {
     
    413414    }
    414415
     416    // Attempt to create pixels from NULL mask
     417    psLogMsg(__func__,PS_LOG_INFO,"Following should generate error for NULL mask");
    415418    pixels = psPixelsFromMask(pixels, NULL, 1);
    416419
  • trunk/psLib/test/collections/verified/tst_psPixels.stderr

    r4152 r4153  
    3636\**********************************************************************************/
    3737
     38<DATE><TIME>|<HOST>|I|testPixelsToMask
     39    Following should generate an error for NULL pixels
    3840<DATE><TIME>|<HOST>|E|psPixelsToMask (FILE:LINENO)
    3941    Input psPixels can not be NULL.
     
    5153\**********************************************************************************/
    5254
     55<DATE><TIME>|<HOST>|I|testPixelsFromMask
     56    Following should generate error for NULL mask
    5357<DATE><TIME>|<HOST>|E|psPixelsFromMask (FILE:LINENO)
    5458    Specified mask can not be NULL.
Note: See TracChangeset for help on using the changeset viewer.