IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2006, 4:43:57 PM (20 years ago)
Author:
drobbin
Message:

Made several changes to image functions/tests w.r.t. subimage v. parent image issue.

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

Legend:

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

    r6500 r6750  
    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: 2006-02-28 02:53:03 $
     9 *  @date $Date: 2006-04-01 02:43:57 $
    1010 *
    1111 *  Copyright 2005 Maui High Performance Computing Center, University of Hawaii
     
    378378        psError(PS_ERR_UNKNOWN,true,"Did not expect non-NULL for invalid range");
    379379        return 21;
     380    }
     381    // Test for invalid region
     382    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for invalid range");
     383    mask = psPixelsToMask(mask,pixels,psRegionSet(0,-1,0,10),1);
     384    if(mask != NULL) {
     385        psError(PS_ERR_UNKNOWN,true,"Did not expect non-NULL for invalid range");
     386        return 22;
    380387    }
    381388
  • trunk/psLib/test/types/verified/tst_psPixels.stderr

    r6500 r6750  
    4444<DATE><TIME>|<HOST>|E|psPixelsToMask (FILE:LINENO)
    4545    Specified psRegion, [10:0,10:0], does not specify a valid region.
     46<DATE><TIME>|<HOST>|I|testPixelsToMask
     47    Following should generate an error for invalid range
     48<DATE><TIME>|<HOST>|E|psPixelsToMask (FILE:LINENO)
     49    Specified psRegion, [0:10,0:-1], does not specify a valid region.
    4650
    4751---> TESTPOINT PASSED (psPixels{psPixelsToMask} | tst_psPixels.c)
Note: See TracChangeset for help on using the changeset viewer.