Changeset 6750 for trunk/psLib/test/types
- Timestamp:
- Mar 31, 2006, 4:43:57 PM (20 years ago)
- Location:
- trunk/psLib/test/types
- Files:
-
- 2 edited
-
tst_psPixels.c (modified) (2 diffs)
-
verified/tst_psPixels.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/types/tst_psPixels.c
r6500 r6750 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1. 4$7 * @version $Revision: 1.5 $ 8 8 * $Name: not supported by cvs2svn $ 9 * @date $Date: 2006-0 2-28 02:53:03$9 * @date $Date: 2006-04-01 02:43:57 $ 10 10 * 11 11 * Copyright 2005 Maui High Performance Computing Center, University of Hawaii … … 378 378 psError(PS_ERR_UNKNOWN,true,"Did not expect non-NULL for invalid range"); 379 379 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; 380 387 } 381 388 -
trunk/psLib/test/types/verified/tst_psPixels.stderr
r6500 r6750 44 44 <DATE><TIME>|<HOST>|E|psPixelsToMask (FILE:LINENO) 45 45 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. 46 50 47 51 ---> TESTPOINT PASSED (psPixels{psPixelsToMask} | tst_psPixels.c)
Note:
See TracChangeset
for help on using the changeset viewer.
