Changeset 1895
- Timestamp:
- Sep 24, 2004, 3:13:14 PM (22 years ago)
- Location:
- trunk/psLib/test/image
- Files:
-
- 2 edited
-
tst_psImageManip.c (modified) (2 diffs)
-
verified/tst_psImageManip.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageManip.c
r1893 r1895 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-09-25 0 0:43:55$8 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-09-25 01:13:14 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 318 318 } 319 319 320 // Verify program execution doesn't stop if the input image type is something 321 // other than F32, F64, C32, C64. 322 img = psImageAlloc(c,r,PS_TYPE_S32); 323 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error (invalid type)"); 324 retVal = psImageClipNaN(img,2.0f); 325 if (retVal != 0) { 326 psError(__func__,"Expected zero return for clip of invalid image type."); 327 return 4; 328 } 329 psFree(img); 330 320 331 return 0; 321 332 } -
trunk/psLib/test/image/verified/tst_psImageManip.stderr
r1893 r1895 42 42 <DATE><TIME>|<HOST>|I|testImageClipNAN 43 43 psImageClipNaN shall modified pixel values of NaN with a specified value 44 <DATE><TIME>|<HOST>|I|testImageClipNAN 45 Following should be an error (invalid type) 46 <DATE><TIME>|<HOST>|E|psLib.image.psImageClipNaN 47 Specified psImage type (psS32) is not supported. 44 48 45 49 ---> TESTPOINT PASSED (psImage{psImageClipNAN} | tst_psImageManip.c)
Note:
See TracChangeset
for help on using the changeset viewer.
