Changeset 2976 for trunk/psLib/test/image/tst_psImageIO.c
- Timestamp:
- Jan 13, 2005, 11:15:55 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/image/tst_psImageIO.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageIO.c
r2273 r2976 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $9 * @date $Date: 200 4-11-04 01:05:00$8 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-01-13 21:15:55 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 68 68 an error message and return NULL if any of the input parameters are out of 69 69 range, image file doesn't exist or image is zero or one dimensional. 70 70 71 71 Verify the returned psImage structure contains expected values, if the input 72 72 parameter filename specifies an available FITS file with known 2dimensional … … 74 74 FITS file. Cases should include 1x1, Nx1, 1xN, NxN and MxN sub images and 75 75 total FITS file image. (done in macro) 76 76 77 77 Verify the returned psImage structure is equal to the input parameter 78 78 'output', if specified. (done in macro) 79 79 80 80 */ 81 81 … … 342 342 343 343 /* 344 Verify error message generated when invalid image type is pass as the input image.345 */346 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error for passing invalid image type.");347 GENIMAGE(img,32,32,S8,row+2*col);348 if ( psImageWriteSection(img,0,0,0,NULL,0,"tmpImages/writeTest.fits")) {349 psError(PS_ERR_UNKNOWN, true,"psImageWriteSection did not return false when input image type invalid.");350 return 21;351 }352 psFree(img);353 354 /*355 344 Verify error message generated when invalid path specified for output file. 356 345 */
Note:
See TracChangeset
for help on using the changeset viewer.
