Index: trunk/psLib/test/image/tst_psImageStats02.c
===================================================================
--- trunk/psLib/test/image/tst_psImageStats02.c	(revision 887)
+++ trunk/psLib/test/image/tst_psImageStats02.c	(revision 1022)
@@ -4,4 +4,7 @@
     thouroughly tested elsewhere, we will only test psImageStats() with
     the PS_STAT_SAMPLE_MEAN here.
+ 
+    NOTE: After you debug, set CHEBY_X_DIM != CHEBY_Y_DIM.
+    Also, uses non-square images.
  *****************************************************************************/
 #include <stdio.h>
@@ -11,7 +14,6 @@
 #include "psImage.h"
 #include "psImageStats.h"
-#define NUM_BINS 20
-#define IMAGE_SIZE 10
-#define CHEBY_X_DIM 5
+#define IMAGE_SIZE 3
+#define CHEBY_X_DIM 3
 #define CHEBY_Y_DIM 3
 
@@ -38,11 +40,6 @@
         for (j=0;j<IMAGE_SIZE;j++) {
             tmpImage->data.F32[i][j] = (float) (i + j);
+            tmpImage->data.F32[i][j] = 4.0;
             outImage->data.F32[i][j] = 0.0;
-        }
-    }
-    for (i=0;i<IMAGE_SIZE;i++) {
-        for (j=0;j<IMAGE_SIZE;j++) {
-            printf("(%f, %f)\n", tmpImage->data.F32[i][j],
-                   outImage->data.F32[i][j]);
         }
     }
@@ -72,5 +69,6 @@
     for (i=0;i<IMAGE_SIZE;i++) {
         for (j=0;j<IMAGE_SIZE;j++) {
-            printf("(%f, %f)\n", tmpImage->data.F32[i][j],
+            printf("pixel[%d][%d] is (%f, %f)\n", i, j,
+                   tmpImage->data.F32[i][j],
                    outImage->data.F32[i][j]);
         }
