Changeset 3028 for trunk/psLib/test/image/tst_psImageManip.c
- Timestamp:
- Jan 17, 2005, 5:15:04 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/image/tst_psImageManip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageManip.c
r2860 r3028 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 5$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-01- 03 21:58:53$8 * @version $Revision: 1.36 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-01-18 03:15:04 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 210 210 return 4; 211 211 } 212 213 // Verify program execution doesn't stop if the input image type is something214 // other than U8, U16, S8, S16, F32, F64, C32, C64.215 img = psImageAlloc(c,r,PS_TYPE_U32);216 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error (invalid type)");217 retVal = psImageClip(img,min,-1.0f,max,-2.0f);218 if (retVal != 0) {219 psError(PS_ERR_UNKNOWN, true,"Expected zero return for clip of invalid image type.");220 return 5;221 }222 psFree(img);223 212 224 213 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.
