IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Update test cases for psPixelsToMask function.

File:
1 edited

Legend:

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

    r4146 r4152  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.3 $
     7 *  @version $Revision: 1.4 $
    88 *           $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-06-08 03:17:01 $
     9 *  @date $Date: 2005-06-08 19:08:22 $
    1010 *
    1111 *  Copyright 2005 Maui High Performance Computing Center, University of Hawaii
     
    364364
    365365
     366    // Test for invalid region
     367    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for invalid range");
     368    mask = psPixelsToMask(mask,pixels,psRegionSet(10,0,10,0),1);
     369    if(mask != NULL) {
     370        psError(PS_ERR_UNKNOWN,true,"Did not expect non-NULL for invalid range");
     371        return 21;
     372    }
     373
    366374    psFree(mask);
    367375    psFree(pixels);
Note: See TracChangeset for help on using the changeset viewer.