Index: trunk/psModules/test/tst_pmSubtractSky.c
===================================================================
--- trunk/psModules/test/tst_pmSubtractSky.c	(revision 2761)
+++ trunk/psModules/test/tst_pmSubtractSky.c	(revision 2777)
@@ -7,6 +7,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-20 21:39:14 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-12-21 20:41:29 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -19,5 +19,5 @@
 #define POLY_X_ORDER 3
 #define POLY_Y_ORDER 3
-#define TOL 1.0
+#define ERROR_TOLERANCE 1.0
 #define OBJECT_INTENSITY 2000.0
 static int test00(void);
@@ -26,4 +26,5 @@
                               {NULL}
                           };
+//XXX: Test a few input parameter error conditions.
 
 float func(int i, int j)
@@ -37,4 +38,6 @@
 }
 
+/******************************************************************************
+ *****************************************************************************/
 int doSubtractSkySimple(int numCols, int numRows, int binFactor)
 {
@@ -57,5 +60,5 @@
     for (i=0;i<numRows;i++) {
         for (j=0;j<numCols;j++) {
-            if (TOL < fabs(myReadout->image->data.F32[i][j])) {
+            if (ERROR_TOLERANCE < fabs(myReadout->image->data.F32[i][j])) {
                 printf("ERROR: image[%d][%d] is %f, should be 0.0\n", i, j, myReadout->image->data.F32[i][j]);
                 testStatus = 1;
@@ -69,4 +72,6 @@
 }
 
+/******************************************************************************
+ *****************************************************************************/
 int doSubtractSkyWithObjects(int numCols, int numRows, int binFactor)
 {
@@ -79,5 +84,5 @@
     psPolynomial2D *myPoly = psPolynomial2DAlloc(POLY_X_ORDER, POLY_Y_ORDER, PS_POLYNOMIAL_ORD);
     psImage *trueImage = psImageAlloc(numCols, numRows, PS_TYPE_F32);
-    psF32 errorTolerance = TOL * ((psF32) binFactor);
+    psF32 errorTolerance = ERROR_TOLERANCE * ((psF32) binFactor);
 
     for (i=0;i<numRows;i++) {
@@ -123,6 +128,4 @@
 
     // Bin Factor == 1
-    /*
-    */
     printf("doSubtractSkySimple(1, 1, 1)\n");
     testStatus |= doSubtractSkySimple(1, 1, 1);
