Index: trunk/psLib/test/astronomy/tst_psAstrometry01.c
===================================================================
--- trunk/psLib/test/astronomy/tst_psAstrometry01.c	(revision 3569)
+++ trunk/psLib/test/astronomy/tst_psAstrometry01.c	(revision 3638)
@@ -5,6 +5,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-03-30 23:22:39 $
+*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-01 22:22:17 $
 *
 * XXX: Must test
@@ -258,5 +258,5 @@
         for (j=0;j<X_NUM_COLS;j++) {
             if ((tmp->x)[i][j] != x->data.F64[i][j]) {
-                printf("ERROR: (tmp->x)[%d][%d] is %f, should be %f\n", i, j,
+                printf("ERROR: (tmp->x)[%d][%d] is %.2f, should be %.2f\n", i, j,
                        (tmp->x)[i][j], x->data.F64[i][j]);
                 testStatus = 1;
@@ -274,5 +274,5 @@
         for (j=0;j<Y_NUM_COLS;j++) {
             if ((tmp->y)[i][j] != y->data.F64[i][j]) {
-                printf("ERROR: (tmp->y)[%d][%d] is %f, should be %f\n", i, j,
+                printf("ERROR: (tmp->y)[%d][%d] is %.2f, should be %.2f\n", i, j,
                        (tmp->y)[i][j], y->data.F64[i][j]);
 
@@ -292,9 +292,9 @@
     }
     if (tmp->x0 != X0) {
-        printf("ERROR: tmp->x0 is %f, should be %f\n", tmp->x0, X0);
+        printf("ERROR: tmp->x0 is %.2f, should be %.2f\n", tmp->x0, X0);
         testStatus = 1;
     }
     if (tmp->xScale != X_SCALE) {
-        printf("ERROR: tmp->xScale is %f, should be %f\n", tmp->xScale, X_SCALE);
+        printf("ERROR: tmp->xScale is %.2f, should be %.2f\n", tmp->xScale, X_SCALE);
         testStatus = 1;
     }
@@ -306,9 +306,9 @@
     }
     if (tmp->y0 != Y0) {
-        printf("ERROR: tmp->y0 is %f, should be %f\n", tmp->y0, Y0);
+        printf("ERROR: tmp->y0 is %.2f, should be %.2f\n", tmp->y0, Y0);
         testStatus = 1;
     }
     if (tmp->yScale != Y_SCALE) {
-        printf("ERROR: tmp->yScale is %f, should be %f\n", tmp->yScale, Y_SCALE);
+        printf("ERROR: tmp->yScale is %.2f, should be %.2f\n", tmp->yScale, Y_SCALE);
         testStatus = 1;
     }
@@ -336,29 +336,29 @@
 
     if (grom->height != HEIGHT) {
-        printf("ERROR: grom->height is %f, should be %f\n", grom->height, HEIGHT);
+        printf("ERROR: grom->height is %.2f, should be %.2f\n", grom->height, HEIGHT);
         testStatus = 1;
     }
     if (grom->temperature != TEMPERATURE) {
-        printf("ERROR: grom->temperature is %f, should be %f\n", grom->temperature, TEMPERATURE);
+        printf("ERROR: grom->temperature is %.2f, should be %.2f\n", grom->temperature, TEMPERATURE);
         testStatus = 2;
     }
 
     if (grom->pressure != PRESSURE) {
-        printf("ERROR: grom->pressure is %f, should be %f\n", grom->pressure, PRESSURE);
+        printf("ERROR: grom->pressure is %.2f, should be %.2f\n", grom->pressure, PRESSURE);
         testStatus = 3;
     }
 
     if (grom->humidity != HUMIDITY) {
-        printf("ERROR: grom->humidity is %f, should be %f\n", grom->humidity, HUMIDITY);
+        printf("ERROR: grom->humidity is %.2f, should be %.2f\n", grom->humidity, HUMIDITY);
         testStatus = 4;
     }
 
     if (grom->wavelength != WAVELENGTH) {
-        printf("ERROR: grom->wavelength is %f, should be %f\n", grom->wavelength, WAVELENGTH);
+        printf("ERROR: grom->wavelength is %.2f, should be %.2f\n", grom->wavelength, WAVELENGTH);
         testStatus = 5;
     }
 
     if (grom->lapseRate != LAPSERATE) {
-        printf("ERROR: grom->lapseRate is %f, should be %f\n", grom->lapseRate, LAPSERATE);
+        printf("ERROR: grom->lapseRate is %.2f, should be %.2f\n", grom->lapseRate, LAPSERATE);
         testStatus = 6;
     }
@@ -369,23 +369,23 @@
 
        if (grom-> != ) {
-            printf("ERROR: grom-> is %f, should be %f\n", grom->, );
+            printf("ERROR: grom-> is %.2f, should be %.2f\n", grom->, );
             testStatus = 1;
        }
     */
 
-    printf("grom->latitude is %f\n", grom->latitude);
-    printf("grom->sinLat is %f\n", grom->sinLat);
-    printf("grom->cosLat is %f\n", grom->cosLat);
-    printf("grom->abberationMag is %f\n", grom->abberationMag);
-    printf("grom->height is %f\n", grom->height);
-    printf("grom->temperature is %f\n", grom->temperature);
-    printf("grom->pressure is %f\n", grom->pressure);
-    printf("grom->humidity is %f\n", grom->humidity);
-    printf("grom->wavelength is %f\n", grom->wavelength);
-    printf("grom->lapseRate is %f\n", grom->lapseRate);
-    printf("grom->refractA is %f\n", grom->refractA);
-    printf("grom->refractB is %f\n", grom->refractB);
-    printf("grom->longitudeOffset is %f\n", grom->longitudeOffset);
-    // printf("grom->siderealTime is %f\n", grom->siderealTime);
+    printf("grom->latitude is %.2f\n", grom->latitude);
+    printf("grom->sinLat is %.2f\n", grom->sinLat);
+    printf("grom->cosLat is %.2f\n", grom->cosLat);
+    printf("grom->abberationMag is %.2f\n", grom->abberationMag);
+    printf("grom->height is %.2f\n", grom->height);
+    printf("grom->temperature is %.2f\n", grom->temperature);
+    printf("grom->pressure is %.2f\n", grom->pressure);
+    printf("grom->humidity is %.2f\n", grom->humidity);
+    printf("grom->wavelength is %.2f\n", grom->wavelength);
+    printf("grom->lapseRate is %.2f\n", grom->lapseRate);
+    printf("grom->refractA is %.2f\n", grom->refractA);
+    printf("grom->refractB is %.2f\n", grom->refractB);
+    printf("grom->longitudeOffset is %.2f\n", grom->longitudeOffset);
+    // printf("grom->siderealTime is %.2f\n", grom->siderealTime);
 
     psFree(now);
@@ -461,5 +461,5 @@
                     fpaCoord.x = (double) xFPA;
                     fpaCoord.y = (double) y;
-                    //printf("------------------ (%f, %f) ------------------\n", fpaCoord.x, fpaCoord.y);
+                    //printf("------------------ (%.2f, %.2f) ------------------\n", fpaCoord.x, fpaCoord.y);
                     psChip* tmpChip = psChipInFPA(&fpaCoord, myFPA);
                     myCell = psCellInFPA(&fpaCoord, myFPA);
@@ -477,16 +477,16 @@
 
                         if (x != (psS32) cellCoord.x) {
-                            printf("ERROR: x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (y != (psS32) cellCoord.y) {
-                            printf("ERROR: y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
                         psCoordCellToChip(&testCoord, &cellCoord, myCell);
                         if (testCoord.x != chipCoord.x) {
-                            printf("ERROR: psCoordCellToChip() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordCellToChip() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != chipCoord.y) {
-                            printf("ERROR: psCoordCellToChip() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordCellToChip() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
@@ -501,32 +501,32 @@
                         psCoordChipToFPA(&testCoord, &chipCoord, tmpChip);
                         if (testCoord.x != xFPA) {
-                            printf("ERROR: psCoordChipToFPA() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordChipToFPA() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != y) {
-                            printf("ERROR: psCoordChipToFPA() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordChipToFPA() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
                         psCoordFPAToTP(&testCoord, &fpaCoord, 0.0, 0.0, myFPA);
                         if (testCoord.x != fpaCoord.x) {
-                            printf("ERROR: psCoordFPAToTP() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordFPAToTP() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != fpaCoord.y) {
-                            printf("ERROR: psCoordFPAToTP() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordFPAToTP() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
                         psCoordCellToFPA(&testCoord, &cellCoord, myCell);
                         if (testCoord.x != fpaCoord.x) {
-                            printf("ERROR: psCoordFPAToTP() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordFPAToTP() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != fpaCoord.y) {
-                            printf("ERROR: psCoordFPAToTP() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordFPAToTP() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
                         psCoordTPToFPA(&testCoord, &fpaCoord, 0.0, 0.0, myFPA);
                         if (testCoord.x != fpaCoord.x) {
-                            printf("ERROR: psCoordFPAToTP() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordFPAToTP() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != fpaCoord.y) {
-                            printf("ERROR: psCoordFPAToTP() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordFPAToTP() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
                     }
