Index: trunk/psModules/test/tst_pmImageCombine.c
===================================================================
--- trunk/psModules/test/tst_pmImageCombine.c	(revision 4418)
+++ trunk/psModules/test/tst_pmImageCombine.c	(revision 4579)
@@ -9,6 +9,6 @@
  *  XXX: Must verify the results internally.  Don't use stdout file.
  *
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-16 23:13:43 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-19 01:44:48 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -266,5 +266,5 @@
 
     if (questionablePixels->n != numImages) {
-        printf("TEST ERROR: pmCombineImages(): questionablePixels->n was %d, should have been %d\n",
+        printf("TEST ERROR: pmCombineImages(): questionablePixels->n was %ld, should have been %d\n",
                questionablePixels->n, numImages);
         testStatus = true;
@@ -313,5 +313,5 @@
         for (psS32 i = 0 ; i < pixelRejects->n ; i++) {
             psPixels *myPixels = (psPixels *) pixelRejects->data[i];
-            printf("tst_pmImageCombine.c: Image %d had %d rejects.\n", i, myPixels->n);
+            printf("tst_pmImageCombine.c: Image %d had %ld rejects.\n", i, myPixels->n);
 
             for (psS32 p = 0 ; p < myPixels->n ; p++) {
Index: trunk/psModules/test/tst_pmImageSubtract.c
===================================================================
--- trunk/psModules/test/tst_pmImageSubtract.c	(revision 4418)
+++ trunk/psModules/test/tst_pmImageSubtract.c	(revision 4579)
@@ -10,6 +10,6 @@
  *  data.  More work need to be done to verify the results.
  *
- *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-28 23:28:18 $
+ *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-19 01:44:48 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -337,5 +337,5 @@
     // Create a test image and set a single pixel in the center of each stamp.
     psImage *tstImg = psImageAlloc(numCols, numRows, PS_TYPE_F32);
-    psS32 numStamps = 0;
+    int numStamps = 0;
     PS_IMAGE_SET_F32(tstImg, 0.0);
     for (psS32 j = 0; j < yNum; j++) {
@@ -407,5 +407,5 @@
     } else {
         if (stamps->n != numStamps) {
-            printf("TEST ERROR: %d stamps were found, %d were expected.\n",
+            printf("TEST ERROR: %ld stamps were found, %d were expected.\n",
                    stamps->n, numStamps);
             testStatus = true;
@@ -443,5 +443,5 @@
     } else {
         if (stamps->n != numStamps) {
-            printf("TEST ERROR: %d stamps were found, %d were expected.\n",
+            printf("TEST ERROR: %ld stamps were found, %d were expected.\n",
                    stamps->n, numStamps);
             testStatus = true;
Index: trunk/psModules/test/tst_pmObjects01.c
===================================================================
--- trunk/psModules/test/tst_pmObjects01.c	(revision 4418)
+++ trunk/psModules/test/tst_pmObjects01.c	(revision 4579)
@@ -19,6 +19,6 @@
  * abd never deallocate, no error is generated.
  *
- *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-13 19:59:21 $
+ *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-19 01:44:48 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -128,5 +128,5 @@
     } else {
         if ((tmpModel->params->n != 7) || (tmpModel->dparams->n != 7)) {
-            printf("TEST ERROR: pmModelAlloc(PS_MODEL_GAUSS) allocated an incorrect number of params (%d, %d)\n",
+            printf("TEST ERROR: pmModelAlloc(PS_MODEL_GAUSS) allocated an incorrect number of params (%ld, %ld)\n",
                    tmpModel->params->n, tmpModel->dparams->n);
             testStatus = false;
@@ -150,5 +150,5 @@
     } else {
         if ((tmpModel->params->n != 7) || (tmpModel->dparams->n != 7)) {
-            printf("TEST ERROR: pmModelAlloc(PS_MODEL_PGAUSS) allocated an incorrect number of params (%d, %d)\n",
+            printf("TEST ERROR: pmModelAlloc(PS_MODEL_PGAUSS) allocated an incorrect number of params (%ld, %ld)\n",
                    tmpModel->params->n, tmpModel->dparams->n);
             testStatus = false;
@@ -172,5 +172,5 @@
     } else {
         if ((tmpModel->params->n != 11) || (tmpModel->dparams->n != 11)) {
-            printf("TEST ERROR: pmModelAlloc(PS_MODEL_TWIST_GAUSS) allocated an incorrect number of params (%d, %d)\n",
+            printf("TEST ERROR: pmModelAlloc(PS_MODEL_TWIST_GAUSS) allocated an incorrect number of params (%ld, %ld)\n",
                    tmpModel->params->n, tmpModel->dparams->n);
             testStatus = false;
@@ -194,5 +194,5 @@
     } else {
         if ((tmpModel->params->n != 9) || (tmpModel->dparams->n != 9)) {
-            printf("TEST ERROR: pmModelAlloc(PS_MODEL_WAUSS) allocated an incorrect number of params (%d, %d)\n",
+            printf("TEST ERROR: pmModelAlloc(PS_MODEL_WAUSS) allocated an incorrect number of params (%ld, %ld)\n",
                    tmpModel->params->n, tmpModel->dparams->n);
             testStatus = false;
@@ -216,5 +216,5 @@
     } else {
         if ((tmpModel->params->n != 8) || (tmpModel->dparams->n != 8)) {
-            printf("TEST ERROR: pmModelAlloc(PS_MODEL_SERSIC) allocated an incorrect number of params (%d, %d)\n",
+            printf("TEST ERROR: pmModelAlloc(PS_MODEL_SERSIC) allocated an incorrect number of params (%ld, %ld)\n",
                    tmpModel->params->n, tmpModel->dparams->n);
             testStatus = false;
@@ -238,5 +238,5 @@
     } else {
         if ((tmpModel->params->n != 12) || (tmpModel->dparams->n != 12)) {
-            printf("TEST ERROR: pmModelAlloc(PS_MODEL_SERSIC_CORE) allocated an incorrect number of params (%d, %d)\n",
+            printf("TEST ERROR: pmModelAlloc(PS_MODEL_SERSIC_CORE) allocated an incorrect number of params (%ld, %ld)\n",
                    tmpModel->params->n, tmpModel->dparams->n);
             testStatus = false;
@@ -290,5 +290,5 @@
     } else {
         if (outData->n != 1) {
-            printf("TEST ERROR: outData->n is %d\n", outData->n);
+            printf("TEST ERROR: outData->n is %ld\n", outData->n);
             testStatus = false;
         }
@@ -316,5 +316,5 @@
 
         if (outData->n != 0) {
-            printf("TEST ERROR: outData->n is %d\n", outData->n);
+            printf("TEST ERROR: outData->n is %ld\n", outData->n);
             testStatus = false;
         }
@@ -344,5 +344,5 @@
 
         if (outData->n != 1) {
-            printf("TEST ERROR: outData->n is %d\n", outData->n);
+            printf("TEST ERROR: outData->n is %ld\n", outData->n);
             testStatus = false;
         }
@@ -370,5 +370,5 @@
 
         if (outData->n != 0) {
-            printf("TEST ERROR: outData->n is %d\n", outData->n);
+            printf("TEST ERROR: outData->n is %ld\n", outData->n);
             testStatus = false;
         }
@@ -398,5 +398,5 @@
 
         if (outData->n != n/2) {
-            printf("TEST ERROR: outData->n is %d\n", outData->n);
+            printf("TEST ERROR: outData->n is %ld\n", outData->n);
             testStatus = false;
         }
@@ -423,5 +423,5 @@
 
         if (outData->n != 0) {
-            printf("TEST ERROR: outData->n is %d\n", outData->n);
+            printf("TEST ERROR: outData->n is %ld\n", outData->n);
             testStatus = false;
         }
@@ -477,5 +477,5 @@
 
 /******************************************************************************
-test02(): 
+test02():
 // XXX: Must test flat peaks.
 // XXX: test 1-by-n and n-by-1 images.
@@ -539,5 +539,5 @@
         }
         if (outData->n != expectedNumPeaks) {
-            printf("TEST ERROR: pmFindImagePeaks found %d peaks (should be %d)\n", outData->n, expectedNumPeaks);
+            printf("TEST ERROR: pmFindImagePeaks found %ld peaks (should be %d)\n", outData->n, expectedNumPeaks);
             testStatus = false;
         }
@@ -681,5 +681,5 @@
     /* XXX: Modify for new pmCullPeaks
         outData = pmCullPeaks(outData, PS_MAX_F32, NULL);
-     
+
         if (outData == NULL) {
             printf("TEST ERROR: pmCullPeaks() returned a non-NULL psList.\n");
@@ -702,8 +702,8 @@
     printf("Calling pmCullPeaks with tiny maxValue and NULL psRegion.\n");
     outData = pmFindImagePeaks(imgData, 0.0);
-    printf("pmFindImagePeaks found %d peaks\n", outData->n);
+    printf("pmFindImagePeaks found %ld peaks\n", outData->n);
     /* XXX: Modify for new pmCullPeaks
         outData = pmCullPeaks(outData, 0.0, NULL);
-     
+
         if (outData == NULL) {
             printf("TEST ERROR: pmCullPeaks() returned a non-NULL psList.\n");
@@ -726,10 +726,10 @@
     printf("Calling pmCullPeaks with large maxValue and disjoint psRegion.\n");
     outData = pmFindImagePeaks(imgData, 0.0);
-    printf("pmFindImagePeaks found %d peaks\n", outData->n);
+    printf("pmFindImagePeaks found %ld peaks\n", outData->n);
     psRegion tmpRegion = psRegionSet(10000.0, 20000.0, 10000.0, 20000.0);
 
     /* XXX: Modify for new pmCullPeaks
         outData = pmCullPeaks(outData, PS_MAX_F32, tmpRegion);
-     
+
         if (outData == NULL) {
             printf("TEST ERROR: pmCullPeaks() returned a non-NULL psList.\n");
@@ -752,9 +752,9 @@
     printf("Calling pmCullPeaks with large maxValue and non-disjoint psRegion.\n");
     outData = pmFindImagePeaks(imgData, 0.0);
-    printf("pmFindImagePeaks found %d peaks\n", outData->n);
+    printf("pmFindImagePeaks found %ld peaks\n", outData->n);
     tmpRegion = psRegionSet(-PS_MAX_F32, PS_MAX_F32, -PS_MAX_F32, PS_MAX_F32);
     /* XXX: Modify for new pmCullPeaks
         outData = pmCullPeaks(outData, PS_MAX_F32, tmpRegion);
-     
+
         if (outData == NULL) {
             printf("TEST ERROR: pmCullPeaks() returned a non-NULL psList.\n");
@@ -1145,5 +1145,5 @@
             testStatus = false;
         }
-     
+
         printf("----------------------------------------------------------------------------------\n");
         printf("Calling pmSourceSetPixelsCircle with subImage endCol > numCols.  Should generate error and return NULL.\n");
@@ -1156,5 +1156,5 @@
             testStatus = false;
         }
-     
+
         printf("----------------------------------------------------------------------------------\n");
         printf("Calling pmSourceSetPixelsCircle with subImage startRow < 0.  Should generate error and return NULL.\n");
@@ -1167,5 +1167,5 @@
             testStatus = false;
         }
-     
+
         printf("----------------------------------------------------------------------------------\n");
         printf("Calling pmSourceSetPixelsCircle with subImage endRow > numRows.  Should generate error and return NULL.\n");
Index: trunk/psModules/test/verified/tst_pmImageCombine.stderr
===================================================================
--- trunk/psModules/test/verified/tst_pmImageCombine.stderr	(revision 4418)
+++ trunk/psModules/test/verified/tst_pmImageCombine.stderr	(revision 4579)
@@ -24,11 +24,2 @@
 ---> TESTPOINT PASSED (Test Point Driver{pmCombineImages()} | tst_pmImageCombine.c)
 
-/***************************** TESTPOINT ******************************************\
-*             TestFile: tst_pmImageCombine.c                                       *
-*            TestPoint: Test Point Driver{pmRejectPixels()}                        *
-*             TestType: Positive                                                   *
-\**********************************************************************************/
-
-
----> TESTPOINT PASSED (Test Point Driver{pmRejectPixels()} | tst_pmImageCombine.c)
-
Index: trunk/psModules/test/verified/tst_pmImageCombine.stdout
===================================================================
--- trunk/psModules/test/verified/tst_pmImageCombine.stdout	(revision 4418)
+++ trunk/psModules/test/verified/tst_pmImageCombine.stdout	(revision 4579)
@@ -1,3 +1,13 @@
 Testing pmCombineImages(10, 10, 5)
+Generating a bad pixel in image (1) at (0, 8)
+Generating a bad pixel in image (3) at (7, 5)
+Generating a bad pixel in image (1) at (1, 2)
+Generating a bad pixel in image (2) at (9, 9)
+Generating a bad pixel in image (1) at (3, 9)
+Generating a bad pixel in image (2) at (0, 5)
+Generating a bad pixel in image (1) at (4, 5)
+Generating a bad pixel in image (1) at (3, 8)
+Generating a bad pixel in image (2) at (6, 2)
+Generating a bad pixel in image (2) at (3, 7)
 Calling with a NULL images.  Should generate error, return NULL.
 Calling with a long images.  Should generate error, return NULL.
@@ -19,3 +29,19 @@
 Image 2, questionable pixel 3 is (3 7)
 Image 3, questionable pixel 0 is (7 5)
-Testing pmRejectPixels(10, 10, 5, 1.000000, 1.000000)
+
+
+
+Calling pmRejectPixels() with acceptable data.  Should generate a psArray.
+tst_pmImageCombine.c: Image 0 had 0 rejects.
+tst_pmImageCombine.c: Image 1 had 4 rejects.
+Image 1, rejected pixel 0 is (0 8)
+Image 1, rejected pixel 1 is (1 2)
+Image 1, rejected pixel 2 is (4 5)
+Image 1, rejected pixel 3 is (3 8)
+tst_pmImageCombine.c: Image 2 had 3 rejects.
+Image 2, rejected pixel 0 is (0 5)
+Image 2, rejected pixel 1 is (6 2)
+Image 2, rejected pixel 2 is (3 7)
+tst_pmImageCombine.c: Image 3 had 1 rejects.
+Image 3, rejected pixel 0 is (7 5)
+tst_pmImageCombine.c: Image 4 had 0 rejects.
Index: trunk/psModules/test/verified/tst_pmImageSubtract.stderr
===================================================================
--- trunk/psModules/test/verified/tst_pmImageSubtract.stderr	(revision 4418)
+++ trunk/psModules/test/verified/tst_pmImageSubtract.stderr	(revision 4579)
@@ -23,19 +23,19 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
+<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
     Unallowable operation: psImage image or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
+<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
     Error: xNum is 0 or less.
-<DATE><TIME>|<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
+<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
     Error: yNum is 0 or less.
-<DATE><TIME>|<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
+<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
     Error: border is 0 or less.
-<DATE><TIME>|<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
+<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
     Unallowable operation: psImage image or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
+<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
     Error: xNum is 0 or less.
-<DATE><TIME>|<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
+<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
     Error: yNum is 0 or less.
-<DATE><TIME>|<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
+<HOST>|E|pmSubtractionFindStamps (FILE:LINENO)
     Error: border is 0 or less.
 
@@ -48,63 +48,47 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
     Unallowable operation: stamps is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
     Unallowable operation: psImage reference or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
     Unallowable operation: psImage input or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
     Unallowable operation: kernels is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionSolveEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionSolveEquation (FILE:LINENO)
     Unallowable operation: stamps is NULL.
-<DATE><TIME>|<HOST>|W|psVectorStats
-    WARNING: psVectorStats(): p_psVectorSampleMean() returned an error.
-<DATE><TIME>|<HOST>|W|psVectorStats
-    WARNING: psVectorStats(): p_psVectorSampleMean() returned an error.
-<DATE><TIME>|<HOST>|W|psVectorStats
-    WARNING: psVectorStats(): p_psVectorSampleMean() returned an error.
-<DATE><TIME>|<HOST>|W|psVectorStats
-    WARNING: psVectorStats(): p_psVectorSampleMean() returned an error.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Unallowable operation: psVector solution or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Unallowable operation: kernels is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Error: x, -2.000000, is out of range.  Must be between -1.000000 and 1.000000.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Error: x, 2.000000, is out of range.  Must be between -1.000000 and 1.000000.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Error: y, -2.000000, is out of range.  Must be between -1.000000 and 1.000000.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Error: y, 2.000000, is out of range.  Must be between -1.000000 and 1.000000.
-<DATE><TIME>|<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
     Unallowable operation: stamps is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
     Unallowable operation: psImage reference or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
     Unallowable operation: psImage input or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionCalculateEquation (FILE:LINENO)
     Unallowable operation: kernels is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionSolveEquation (FILE:LINENO)
+<HOST>|E|pmSubtractionSolveEquation (FILE:LINENO)
     Unallowable operation: stamps is NULL.
-<DATE><TIME>|<HOST>|W|psVectorStats
-    WARNING: psVectorStats(): p_psVectorSampleMean() returned an error.
-<DATE><TIME>|<HOST>|W|psVectorStats
-    WARNING: psVectorStats(): p_psVectorSampleMean() returned an error.
-<DATE><TIME>|<HOST>|W|psVectorStats
-    WARNING: psVectorStats(): p_psVectorSampleMean() returned an error.
-<DATE><TIME>|<HOST>|W|psVectorStats
-    WARNING: psVectorStats(): p_psVectorSampleMean() returned an error.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Unallowable operation: psVector solution or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Unallowable operation: kernels is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Error: x, -2.000000, is out of range.  Must be between -1.000000 and 1.000000.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Error: x, 2.000000, is out of range.  Must be between -1.000000 and 1.000000.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Error: y, -2.000000, is out of range.  Must be between -1.000000 and 1.000000.
-<DATE><TIME>|<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
+<HOST>|E|pmSubtractionKernelImage (FILE:LINENO)
     Error: y, 2.000000, is out of range.  Must be between -1.000000 and 1.000000.
 
Index: trunk/psModules/test/verified/tst_pmImageSubtract.stdout
===================================================================
--- trunk/psModules/test/verified/tst_pmImageSubtract.stdout	(revision 4418)
+++ trunk/psModules/test/verified/tst_pmImageSubtract.stdout	(revision 4579)
@@ -2,8 +2,4 @@
 Testing pmSubtractionKernelsAllocPOIS(2, 3)
 Testing pmSubtractionKernelsAllocPOIS(3, 4)
-Testing pmSubtractionKernelsAllocISIS(1, 1, 1, 1)
-Testing pmSubtractionKernelsAllocISIS(2, 2, 2, 2)
-Testing pmSubtractionKernelsAllocISIS(2, 3, 4, 5)
-Testing pmSubtractionKernelsAllocISIS(3, 4, 5, 6)
 Testing pmSubtractionFindStamps(100, 100, 2, 2, 2)
 Calling with a NULL psImage.  Should generate error, return NULL.
@@ -21,6 +17,6 @@
 Calling with acceptable input parameters, NULL mask.
 Testing pmSubtractionCalculateEquation(): 
-    image size is (100, 100)
-    num stamps is (2, 2).  Border is 3
+    image size is (25, 25)
+    num stamps is (2, 2).  Border is 2
    kernel type is PM_SUBTRACTION_KERNEL_POIS.
 Generating stamps...
@@ -32,6 +28,8 @@
 Calling with acceptable input parameters.  Should return TRUE.
 Calling pmSubtractionSolveEquation() with a NULL stamp argument.  Should generate error, return FALSE.
-Calling with pmSubtractionSolveEquation() acceptable input parameters.  Should return non-NULL.
-Calling with pmSubtractionRejectStamps() acceptable input parameters.  Should return TRUE.
+Calling pmSubtractionSolveEquation() with acceptable input parameters.  Should return non-NULL.
+The solution vector is:
+(1.37) (-0.00) (0.10) (0.08) (0.14) (0.10) (0.01) (0.02) (0.00) (-0.02) (-0.01) (-0.00) (0.00) (0.01) (-0.00) (-0.01) (-0.00) (0.00) (0.02) (-0.01) (-0.01) (0.00) (0.00) (0.00) (-0.02) (0.01) (0.00) (-0.01) (0.00) (-0.00) (0.01) (-0.00) (-0.01) (0.00) (0.01) (0.01) (0.01) (0.01) (-0.00) (-0.01) (-0.00) (0.00) (0.00) (0.00) (0.01) (-0.00) (-0.00) (-0.01) (0.02) (-0.00) (0.00) (-0.00) (-0.00) (-0.01) (-0.01) (0.02) (0.01) (-0.01) (-0.00) (-0.00) (0.00) (0.00) (-0.00) (-0.00) (0.00) (-0.00) (-0.02) (0.01) (0.02) (-0.01) (-0.00) (-0.01) (-0.03) (-0.00) (0.04) (0.01) (-0.00) (-0.03) (0.02) (0.02) (0.01) (-0.03) (-0.03) (-0.02) (0.01) (-0.01) (-0.01) (0.00) (0.00) (0.01) (0.02) (-0.02) (-0.02) (0.02) (0.02) (0.02) (0.03) (-0.03) (-0.03) (0.02) (0.02) (0.02) (0.00) (0.01) (-0.02) (-0.01) (-0.01) (0.02) (-0.03) (0.02) (0.03) (-0.02) (-0.03) (-0.02) (-0.01) (-0.01) (0.00) (0.01) (-0.00) (-0.00) (-0.02) (0.01) (0.02) (-0.01) (-0.01) (-0.01) (-0.02) (0.02) (0.01) (-0.02) (-0.02) (-0.00) (0.02) (-0.01) (-0.02) (0.01) (0.00) (0.01) (-0.02) (0.01) (0.00) (-0.00) (-0.01) (0.00) (0.00) (-0.01) (-0.01) (0.01) (0.01) (0.01) (0.51) 
+Calling pmSubtractionRejectStamps() with acceptable input parameters.  Should return TRUE.
 Calling pmSubtractionKernelImage() with NULL solution.  Should generate error, return NULL.
 Calling pmSubtractionKernelImage() with NULL kernels.  Should generate error, return NULL.
@@ -40,8 +38,13 @@
 Calling pmSubtractionKernelImage() unallowable y value.  Should generate error, return NULL.
 Calling pmSubtractionKernelImage() unallowable y value.  Should generate error, return NULL.
-Calling with pmSubtractionKernelImage() acceptable input parameters.  Should return a psImage.
+Calling pmSubtractionKernelImage() with acceptable input parameters.  Should return a psImage.
+-0.000774 -0.013938 0.010689 -0.013394 -0.015507 
+-0.009241 -0.020300 -0.002732 0.016843 0.010743 
+0.008820 0.015628 1.495404 -0.021095 -0.009788 
+0.003371 -0.001256 0.017835 0.003308 0.008175 
+0.009877 -0.010686 0.014775 0.003368 0.006204 
 Testing pmSubtractionCalculateEquation(): 
-    image size is (100, 100)
-    num stamps is (2, 2).  Border is 3
+    image size is (25, 25)
+    num stamps is (2, 2).  Border is 2
    kernel type is PM_SUBTRACTION_KERNEL_ISIS.
 Generating stamps...
@@ -53,6 +56,8 @@
 Calling with acceptable input parameters.  Should return TRUE.
 Calling pmSubtractionSolveEquation() with a NULL stamp argument.  Should generate error, return FALSE.
-Calling with pmSubtractionSolveEquation() acceptable input parameters.  Should return non-NULL.
-Calling with pmSubtractionRejectStamps() acceptable input parameters.  Should return TRUE.
+Calling pmSubtractionSolveEquation() with acceptable input parameters.  Should return non-NULL.
+The solution vector is:
+(0.09) (-0.01) (-0.01) (0.00) (-0.00) (-0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.00) (0.55) 
+Calling pmSubtractionRejectStamps() with acceptable input parameters.  Should return TRUE.
 Calling pmSubtractionKernelImage() with NULL solution.  Should generate error, return NULL.
 Calling pmSubtractionKernelImage() with NULL kernels.  Should generate error, return NULL.
@@ -61,3 +66,8 @@
 Calling pmSubtractionKernelImage() unallowable y value.  Should generate error, return NULL.
 Calling pmSubtractionKernelImage() unallowable y value.  Should generate error, return NULL.
-Calling with pmSubtractionKernelImage() acceptable input parameters.  Should return a psImage.
+Calling pmSubtractionKernelImage() with acceptable input parameters.  Should return a psImage.
+0.031614 0.045997 0.052122 0.045997 0.031614 
+0.045997 0.066926 0.075837 0.066926 0.045997 
+0.052122 0.075837 0.085934 0.075837 0.052122 
+0.045997 0.066926 0.075837 0.066926 0.045997 
+0.031614 0.045997 0.052122 0.045997 0.031614 
