Changeset 3446 for trunk/psLib/test/image
- Timestamp:
- Mar 17, 2005, 4:35:15 PM (21 years ago)
- Location:
- trunk/psLib/test/image
- Files:
-
- 3 edited
-
tst_psImageInterpolate.c (modified) (2 diffs)
-
tst_psImageManip.c (modified) (2 diffs)
-
verified/tst_psImageManip.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageInterpolate.c
r3264 r3446 5 5 * @author Eric Van Alst, MHPCC 6 6 * 7 * @version $Revision: 1. 4$7 * @version $Revision: 1.5 $ 8 8 * $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-0 2-17 19:26:25 $9 * @date $Date: 2005-03-18 02:35:15 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 28 28 val = (psF32)psImagePixelInterpolate(img,x,y,mask,maskval,exposed,PS_INTERPOLATE_##TYPE); \ 29 29 printf("returned = %.2f expected = %.2f\n",val,expected); \ 30 if( val != expected) { \30 if(fabsf(val-expected)>FLT_EPSILON) { \ 31 31 psError(PS_ERR_UNKNOWN,true,"Return value is not as expected."); \ 32 32 return 1; \ -
trunk/psLib/test/image/tst_psImageManip.c
r3298 r3446 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 39$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-22 19:25:53$8 * @version $Revision: 1.40 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-03-18 02:35:15 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1771 1771 // verify that invalid interpolation mode is handled properly 1772 1772 psErrorClear(); 1773 result = psImageResample(result,image,2, 0);1773 result = psImageResample(result,image,2,-1); 1774 1774 1775 1775 if (result != NULL) { -
trunk/psLib/test/image/verified/tst_psImageManip.stderr
r3127 r3446 422 422 Specified scale value, 0, must be a positive value. 423 423 <DATE><TIME>|<HOST>|E|psImageResample (FILE:LINENO) 424 Specified interpolation mode, 0, is unsupported.424 Specified interpolation mode, -1, is unsupported. 425 425 <DATE><TIME>|<HOST>|E|psImageResample (FILE:LINENO) 426 426 Specified psImage type, psPtr, is not supported.
Note:
See TracChangeset
for help on using the changeset viewer.
