Index: /trunk/psLib/test/dataManip/verified/tst_psVectorFFT.stderr
===================================================================
--- /trunk/psLib/test/dataManip/verified/tst_psVectorFFT.stderr	(revision 1220)
+++ /trunk/psLib/test/dataManip/verified/tst_psVectorFFT.stderr	(revision 1221)
@@ -23,6 +23,6 @@
 \**********************************************************************************/
 
- <DATE> <TIME> <HOST> |I|testVectorCompl|Following should be an error (type mismatch).
- <DATE> <TIME> <HOST> |E|psVectorComplex|The inputs to psVectorComplex must be the same type.
+ <DATE> <TIME> |<HOST>|I|testVectorCompl|Following should be an error (type mismatch).
+ <DATE> <TIME> |<HOST>|E|psVectorComplex|The inputs to psVectorComplex must be the same type.
 
 ---> TESTPOINT PASSED (psFFT{psVectorComplex} | tst_psVectorFFT.c)
Index: /trunk/psLib/test/image/tst_psImageIO.c
===================================================================
--- /trunk/psLib/test/image/tst_psImageIO.c	(revision 1220)
+++ /trunk/psLib/test/image/tst_psImageIO.c	(revision 1221)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-08 01:05:01 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-15 00:08:43 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -86,5 +86,5 @@
         img2 = psImageCopy(img2,img,PS_TYPE_##TYP); \
         GENIMAGE(img3,m,n,TYP,row+2*col); \
-        psImageClip(img3,100,100,400,400); \
+        psImageClip(img3,32.0,32.0,120.0,120.0); \
         img4 = psImageCopy(img4,img3,PS_TYPE_##TYP); \
         remove(filename); \
Index: /trunk/psLib/test/image/tst_psImageManip.c
===================================================================
--- /trunk/psLib/test/image/tst_psImageManip.c	(revision 1220)
+++ /trunk/psLib/test/image/tst_psImageManip.c	(revision 1221)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-14 23:23:42 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-15 00:08:43 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -52,6 +52,6 @@
     unsigned int c = 128;
     unsigned int r = 256;
-    psF32 min;
-    psF32 max;
+    psF64 min;
+    psF64 max;
     int numClipped = 0;
     int retVal;
@@ -91,8 +91,8 @@
         } \
     } \
-    min = (float)r/2.0f; \
-    max = (float)r; \
+    min = (psF64)r/2.0; \
+    max = (psF64)r; \
     \
-    retVal = psImageClip(img,min,-1.0f,max,-2.0f); \
+    retVal = psImageClip(img,min,(double)PS_MIN_##datatype,max,(double)PS_MAX_##datatype); \
     \
     numClipped = 0; \
@@ -101,14 +101,14 @@
         for (unsigned int col=0;col<c;col++) { \
             ps##datatype value = (ps##datatype)(row+col); \
-            if (value < (ps##datatype)min) { \
+            if (value < min) { \
                 numClipped++; \
-                value = -1; \
-            } else if (value > (ps##datatype)max) { \
+                value = PS_MIN_##datatype; \
+            } else if (value > max) { \
                 numClipped++; \
-                value = -2; \
+                value = PS_MAX_##datatype; \
             } \
             if (fabsf(imgRow[col]-value) > FLT_EPSILON) { \
-                psError(__func__,"Pixel value is not as expected (%d vs %d) at %u,%u", \
-                        imgRow[col],value,col,row); \
+                psError(__func__,"Pixel value is not as expected (%g vs %g) at %u,%u", \
+                        (psF64)imgRow[col],(psF64)value,col,row); \
                 return 1; \
             } \
Index: /trunk/psLib/test/image/verified/tst_psImageFFT.stderr
===================================================================
--- /trunk/psLib/test/image/verified/tst_psImageFFT.stderr	(revision 1220)
+++ /trunk/psLib/test/image/verified/tst_psImageFFT.stderr	(revision 1221)
@@ -23,8 +23,8 @@
 \**********************************************************************************/
 
- <DATE> <TIME> <HOST> |I|testImageComple|Following should be an error (type mismatch).
- <DATE> <TIME> <HOST> |E| psImageComplex|The inputs to psImageComplex must be the same type.
- <DATE> <TIME> <HOST> |I|testImageComple|Following should be an error (size mismatch).
- <DATE> <TIME> <HOST> |E| psImageComplex|The inputs to psImageComplex must be the same dimensions.
+ <DATE> <TIME> |<HOST>|I|testImageComple|Following should be an error (type mismatch).
+ <DATE> <TIME> |<HOST>|E| psImageComplex|The inputs to psImageComplex must be the same type.
+ <DATE> <TIME> |<HOST>|I|testImageComple|Following should be an error (size mismatch).
+ <DATE> <TIME> |<HOST>|E| psImageComplex|The inputs to psImageComplex must be the same dimensions.
 
 ---> TESTPOINT PASSED (psFFT{psImageComplex} | tst_psImageFFT.c)
Index: /trunk/psLib/test/image/verified/tst_psImageIO.stderr
===================================================================
--- /trunk/psLib/test/image/verified/tst_psImageIO.stderr	(revision 1220)
+++ /trunk/psLib/test/image/verified/tst_psImageIO.stderr	(revision 1221)
@@ -5,12 +5,12 @@
 \**********************************************************************************/
 
- <DATE> <TIME> <HOST> |I|  testImageRead|Following should be an error as file doesn't exist.
- <DATE> <TIME> <HOST> |E|psImageReadSect|Could not open file 'foobar.fits'. (could not open the named file)
- <DATE> <TIME> <HOST> |I|  testImageRead|Following should be an error as filename is NULL.
- <DATE> <TIME> <HOST> |E|psImageReadSect|Must specify filename; it can not be NULL.
- <DATE> <TIME> <HOST> |I|  testImageRead|Following should be an error as extnum is invalid.
- <DATE> <TIME> <HOST> |E|psImageReadSect|Could not index to HDU #4 for file tmpImages/MxN_F32.fits. (tried to move past end of file)
- <DATE> <TIME> <HOST> |I|  testImageRead|Following should be an error as extname is invalid.
- <DATE> <TIME> <HOST> |E|psImageReadSect|Could not index to 'bogus' HDU for file tmpImages/MxN_F32.fits. (illegal HDU number)
+ <DATE> <TIME> |<HOST>|I|  testImageRead|Following should be an error as file doesn't exist.
+ <DATE> <TIME> |<HOST>|E|psImageReadSect|Could not open file 'foobar.fits'. (could not open the named file)
+ <DATE> <TIME> |<HOST>|I|  testImageRead|Following should be an error as filename is NULL.
+ <DATE> <TIME> |<HOST>|E|psImageReadSect|Must specify filename; it can not be NULL.
+ <DATE> <TIME> |<HOST>|I|  testImageRead|Following should be an error as extnum is invalid.
+ <DATE> <TIME> |<HOST>|E|psImageReadSect|Could not index to HDU #4 for file tmpImages/MxN_F32.fits. (tried to move past end of file)
+ <DATE> <TIME> |<HOST>|I|  testImageRead|Following should be an error as extname is invalid.
+ <DATE> <TIME> |<HOST>|E|psImageReadSect|Could not index to 'bogus' HDU for file tmpImages/MxN_F32.fits. (illegal HDU number)
 
 ---> TESTPOINT PASSED (psImage{psImageReadSection} | tst_psImageIO.c)
Index: /trunk/psLib/test/image/verified/tst_psImageManip.stderr
===================================================================
--- /trunk/psLib/test/image/verified/tst_psImageManip.stderr	(revision 1220)
+++ /trunk/psLib/test/image/verified/tst_psImageManip.stderr	(revision 1221)
@@ -46,2 +46,22 @@
 ---> TESTPOINT PASSED (psImage{psImageOverlay} | tst_psImageManip.c)
 
+/***************************** TESTPOINT ******************************************\
+*             TestFile: tst_psImageManip.c                                         *
+*            TestPoint: psImage{psImageRebin}                                      *
+*             TestType: Positive                                                   *
+\**********************************************************************************/
+
+ <DATE> <TIME> |<HOST>|E|   psImageRebin|Input image is NULL.
+ <DATE> <TIME> |<HOST>|I| testImageRebin|Following should be an error.
+ <DATE> <TIME> |<HOST>|E|   psImageRebin|The scale must be positive.
+ <DATE> <TIME> |<HOST>|I| testImageRebin|Following should be an error.
+ <DATE> <TIME> |<HOST>|E|   psImageRebin|The stats input can not be NULL.
+ <DATE> <TIME> |<HOST>|I| testImageRebin|Following should be an error.
+ <DATE> <TIME> |<HOST>|E|   psImageRebin|The stat options didn't specify a single supported statistic type.
+ <DATE> <TIME> |<HOST>|I| testImageRebin|Following should be an error.
+ <DATE> <TIME> |<HOST>|E|   psImageRebin|The stat options didn't specify a single supported statistic type.
+ <DATE> <TIME> |<HOST>|I| testImageRebin|Following should be an error.
+ <DATE> <TIME> |<HOST>|E|   psImageRebin|The stat options didn't specify a single supported statistic type.
+
+---> TESTPOINT PASSED (psImage{psImageRebin} | tst_psImageManip.c)
+
