Index: trunk/psLib/test/image/tst_psImageInterpolate.c
===================================================================
--- trunk/psLib/test/image/tst_psImageInterpolate.c	(revision 3443)
+++ trunk/psLib/test/image/tst_psImageInterpolate.c	(revision 3446)
@@ -5,7 +5,7 @@
  * @author Eric Van Alst, MHPCC
  *
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
  *          $Name: not supported by cvs2svn $
- * @date $Date: 2005-02-17 19:26:25 $
+ * @date $Date: 2005-03-18 02:35:15 $
  *
  * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -28,5 +28,5 @@
 val = (psF32)psImagePixelInterpolate(img,x,y,mask,maskval,exposed,PS_INTERPOLATE_##TYPE); \
 printf("returned = %.2f    expected = %.2f\n",val,expected); \
-if(val != expected) { \
+if(fabsf(val-expected)>FLT_EPSILON) { \
     psError(PS_ERR_UNKNOWN,true,"Return value is not as expected."); \
     return 1; \
Index: trunk/psLib/test/image/tst_psImageManip.c
===================================================================
--- trunk/psLib/test/image/tst_psImageManip.c	(revision 3443)
+++ trunk/psLib/test/image/tst_psImageManip.c	(revision 3446)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-02-22 19:25:53 $
+ *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-03-18 02:35:15 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1771,5 +1771,5 @@
     // verify that invalid interpolation mode is handled properly
     psErrorClear();
-    result = psImageResample(result,image,2,0);
+    result = psImageResample(result,image,2,-1);
 
     if (result != NULL) {
Index: trunk/psLib/test/image/verified/tst_psImageManip.stderr
===================================================================
--- trunk/psLib/test/image/verified/tst_psImageManip.stderr	(revision 3443)
+++ trunk/psLib/test/image/verified/tst_psImageManip.stderr	(revision 3446)
@@ -422,5 +422,5 @@
     Specified scale value, 0, must be a positive value.
 <DATE><TIME>|<HOST>|E|psImageResample (FILE:LINENO)
-    Specified interpolation mode, 0, is unsupported.
+    Specified interpolation mode, -1, is unsupported.
 <DATE><TIME>|<HOST>|E|psImageResample (FILE:LINENO)
     Specified psImage type, psPtr, is not supported.
