Index: trunk/psLib/test/astro/tst_psSphereOps.c
===================================================================
--- trunk/psLib/test/astro/tst_psSphereOps.c	(revision 5450)
+++ trunk/psLib/test/astro/tst_psSphereOps.c	(revision 5455)
@@ -1,11 +1,10 @@
 /** @file  tst_psSphereOps.c
 *
-*  @brief The code will ..... Work ....
-*
+*  @brief The code will perform sphere rotations and transformations.
 *
 *  @author d-Rob, MHPCC
 *
-*  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-10-28 02:25:22 $
+*  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-11-02 01:07:25 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -14,4 +13,5 @@
 #include "psTest.h"
 #include "pslib_strict.h"
+
 static psS32 testSphereRotAlloc(void);
 static psS32 testSphereRotQuat(void);
@@ -275,10 +275,8 @@
                     RAD_TO_DEG(galactic->r),RAD_TO_DEG(galactic->d),
                     l[x], b[x]);
-            printf("togal- %lf,%lf,%lf,%lf   fromgal- %lf,%lf,%lf,%lf\n",
-                   toGalactic->q0, toGalactic->q1, toGalactic->q2, toGalactic->q3,
-                   fromGalactic->q0, fromGalactic->q1, fromGalactic->q2, fromGalactic->q3);
             return 3;
         }
-        if (fabs(RAD_TO_DEG(icrsFromGalactic->r) - alpha[x]) > TOLERANCE ||
+        if ( (fabs(RAD_TO_DEG(icrsFromGalactic->r) - alpha[x]) > TOLERANCE &&
+                fabs(RAD_TO_DEG(icrsFromGalactic->d) - 90.0) > TOLERANCE ) ||
                 fabs(RAD_TO_DEG(icrsFromGalactic->d) - delta[x]) > TOLERANCE) {
             psError(PS_ERR_UNKNOWN, false,
