Index: trunk/psLib/test/image/tst_psImageFFT.c
===================================================================
--- trunk/psLib/test/image/tst_psImageFFT.c	(revision 1406)
+++ trunk/psLib/test/image/tst_psImageFFT.c	(revision 1606)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-06 22:34:06 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-23 22:36:03 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -58,8 +58,5 @@
     psLogSetLevel(PS_LOG_INFO);
 
-    if (! runTestSuite(stderr,"psFFT",tests,argc,argv) ) {
-        psAbort(__FILE__,"One or more tests failed");
-    }
-    return 0;
+    return (! runTestSuite(stderr,"psFFT",tests,argc,argv) );
 }
 
@@ -84,5 +81,5 @@
 
     // 2. perform a forward transform
-    img2 = psImageFFT(NULL,img,PS_FFT_FORWARD);
+    img2 = psImageFFT(img2,img,PS_FFT_FORWARD);
     if (img2->type.type != PS_TYPE_C32) {
         psError(__func__,"FFT didn't produce complex values?");
@@ -109,6 +106,8 @@
     }
 
+
     // 4. perform a reverse transform
-    img3 = psImageFFT(NULL,img2,PS_FFT_REVERSE);
+    img3 = psImageFFT(img3,img2,PS_FFT_REVERSE);
+
     if (img3->type.type != PS_TYPE_C32) {
         psError(__func__,"FFT didn't produce complex values?");
@@ -122,5 +121,5 @@
             psF32 pixel = creal(img3Row[col])/m/n;
             if (fabsf(pixel-imgRow[col]) > 0.1) {
-                psError(__func__,"Reverse FFT didn't gime original image back (%d,%d %.2f vs %.2f)",
+                psError(__func__,"Reverse FFT didn't give original image back (%d,%d %.2f vs %.2f)",
                         col,row,pixel,imgRow[col]);
                 return 5;
