Changeset 3682 for trunk/psLib/test/image/tst_psImageManip.c
- Timestamp:
- Apr 7, 2005, 10:27:42 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/image/tst_psImageManip.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageManip.c
r3446 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.4 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 3-18 02:35:15$8 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 22 22 23 23 #include "psTest.h" 24 #include "pslib .h"24 #include "pslib_strict.h" 25 25 #include "psType.h" 26 26 … … 1788 1788 // Verify that that an invalid image type is handled properly 1789 1789 psErrorClear(); 1790 psImage* invImage = psImageAlloc(cols,rows,PS_TYPE_ PTR);1791 memset(invImage->rawDataBuffer,0,cols*rows*sizeof(ps Ptr)); // make sure the image is of all NULLs1790 psImage* invImage = psImageAlloc(cols,rows,PS_TYPE_BOOL); 1791 memset(invImage->rawDataBuffer,0,cols*rows*sizeof(psBool)); // make sure the image is of all NULLs 1792 1792 result = psImageResample(result,invImage,2,PS_INTERPOLATE_FLAT); 1793 1793 if (result != NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
