Changeset 3311 for trunk/psLib/test/image/tst_psImageExtraction.c
- Timestamp:
- Feb 23, 2005, 11:36:57 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/image/tst_psImageExtraction.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageExtraction.c
r3264 r3311 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-02- 17 19:26:25$8 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-02-23 21:36:57 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 334 334 } 335 335 336 /* Verify the input image is an invalid type */337 psLogMsg( __func__, PS_LOG_INFO, "Following should be an error invalid image type.");338 psImage* imgU8 = psImageAlloc( c, r, PS_TYPE_U8 );339 out = psImageSlice( out, NULL,340 imgU8,341 mask, 1,342 c/10, r/10,343 c/10+1, r/10+1,344 PS_CUT_X_POS,345 stat);346 if ( out != NULL ) {347 psError( PS_ERR_UNKNOWN,true, "Input image with invalid type didn't return NULL as expected.");348 return 112;349 }350 351 336 psFree( image ); 352 337 psFree( positions ); … … 354 339 psFree( out ); 355 340 psFree( stat ); 356 psFree( imgU8 );357 341 psFree( maskS8 ); 358 342 psFree( maskSz );
Note:
See TracChangeset
for help on using the changeset viewer.
