Changeset 3311
- Timestamp:
- Feb 23, 2005, 11:36:57 AM (21 years ago)
- Location:
- trunk/psLib/test/image
- Files:
-
- 1 added
- 5 deleted
- 3 edited
-
Makefile.am (modified) (2 diffs)
-
tst_psImageExtraction.c (modified) (3 diffs)
-
verified/tst_psImageExtraction.stderr (modified) (1 diff)
-
verified/tst_psImageStats.stderr (added)
-
verified/tst_psImageStats00.stderr (deleted)
-
verified/tst_psImageStats01.stderr (deleted)
-
verified/tst_psImageStats01.stdout (deleted)
-
verified/tst_psImageStats02.stderr (deleted)
-
verified/tst_psImageStats02.stdout (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/Makefile.am
r3275 r3311 19 19 tst_psImageFFT \ 20 20 tst_psImageManip \ 21 tst_psImageStats00 \ 22 tst_psImageStats01 \ 23 tst_psImageStats02 \ 24 tst_psImageStats03 \ 25 tst_psImageStats04 \ 21 tst_psImageStats \ 26 22 tst_psImageExtraction \ 27 23 tst_psImageConvolve \ … … 44 40 tst_psImageFFT_SOURCES = tst_psImageFFT.c 45 41 tst_psImageManip_SOURCES = tst_psImageManip.c 46 tst_psImageStats00_SOURCES = tst_psImageStats00.c 47 tst_psImageStats01_SOURCES = tst_psImageStats01.c 48 tst_psImageStats02_SOURCES = tst_psImageStats02.c 49 tst_psImageStats03_SOURCES = tst_psImageStats03.c 50 tst_psImageStats04_SOURCES = tst_psImageStats04.c 42 tst_psImageStats_SOURCES = tst_psImageStats.c 51 43 tst_psImageExtraction_SOURCES = tst_psImageExtraction.c 52 44 tst_psImageConvolve_SOURCES = tst_psImageConvolve.c -
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 ); -
trunk/psLib/test/image/verified/tst_psImageExtraction.stderr
r3127 r3311 175 175 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 176 176 Input psImage mask type, psS8, is not the supported mask datatype of psU8. 177 <DATE><TIME>|<HOST>|I|testImageSlice178 Following should be an error invalid image type.179 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO)180 Specified psImage type, psU8, is not supported.181 177 182 178 ---> TESTPOINT PASSED (psImage{psImageSlice} | tst_psImageExtraction.c)
Note:
See TracChangeset
for help on using the changeset viewer.
