Index: /trunk/psLib/test/astro/Makefile.am
===================================================================
--- /trunk/psLib/test/astro/Makefile.am	(revision 9947)
+++ /trunk/psLib/test/astro/Makefile.am	(revision 9948)
@@ -11,5 +11,7 @@
 
 TEST_PROGS = \
-	tap_psSphereOps_all
+	tap_psSphereOps_all \
+	tap_psEarthOrientation_motion \
+	tap_psEarthOrientation_corrections
 
 if BUILD_TESTS
Index: /trunk/psLib/test/astro/execute_tap
===================================================================
--- /trunk/psLib/test/astro/execute_tap	(revision 9947)
+++ /trunk/psLib/test/astro/execute_tap	(revision 9948)
@@ -1,2 +1,4 @@
 make test
 ./tap_psSphereOps_all
+./tap_psEarthOrientation_corrections
+./tap_psEarthOrientation_motion
Index: /trunk/psLib/test/astro/tap_psEarthOrientation_corrections.c
===================================================================
--- /trunk/psLib/test/astro/tap_psEarthOrientation_corrections.c	(revision 9948)
+++ /trunk/psLib/test/astro/tap_psEarthOrientation_corrections.c	(revision 9948)
@@ -0,0 +1,67 @@
+/**
+ *  C Implementation: tap_psEarthOrientation_corrections
+ *
+ * Description:  Tests for p_psEOCInit, p_psEOCFinalize, psAberration,
+ *                         psGravityDeflection, psEOC_PrecessionCorr,
+ *                         psEOC_PolarTideCorr, psEOC_NutationCorr,
+ *
+ * Author: dRob <David.Robbins@mhpcc.hpc.mil>, (C) 2006
+ *
+ * Copyright: See COPYING file that comes with this distribution
+ *
+ */
+
+#include <pslib.h>
+#include <string.h>
+
+#include "tap.h"
+#include "pstap.h"
+
+static void testSphereRotCreate(void);
+//static void testSphereRotConvert(void);
+//static void testSphereOffsets(void);
+
+int main(void)
+{
+    plan_tests(1);
+
+    diag("Tests for psEarthOrientation Correction Functions");
+
+    testSphereRotCreate();
+    //    testSphereRotConvert();
+    //    testSphereOffsets();
+
+    done();
+}
+
+void testSphereRotCreate(void)
+{
+    diag("  >>>Test 1:  psSphereRot Creation Functions");
+    /*
+    //Tests for psSphereRotAlloc
+    //Return NULL for NAN input
+    {
+        psSphereRot *s1 = psSphereRotAlloc(ALPHA_P, NAN, PHI_P);
+        ok( s1 == NULL,
+            "psSphereRotAlloc:               return NULL for NAN input.");
+    }
+    //Tests for psMemCheckSphereRot
+    //Make sure psMemCheckSphereRot works correctly - return false
+    {
+        int j = 2;
+        ok( !psMemCheckSphereRot(&j),
+             "psMemCheckSphereRot:            return false for non-SphereRot input.");
+        skip_start(  s1 == NULL, 1,
+                     "Skipping 1 tests because psSphereRot is NULL!");
+        skip_end();
+    }
+    */
+    //Check for Memory leaks
+    {
+        checkMem();
+    }
+
+}
+
+
+
Index: /trunk/psLib/test/astro/tap_psEarthOrientation_motion.c
===================================================================
--- /trunk/psLib/test/astro/tap_psEarthOrientation_motion.c	(revision 9948)
+++ /trunk/psLib/test/astro/tap_psEarthOrientation_motion.c	(revision 9948)
@@ -0,0 +1,65 @@
+/**
+ *  C Implementation: tap_psEarthOrientation_motion
+ *
+ * Description:  Tests for psEarthPoleAlloc, psEOC_PrecessionModel, psSpherePrecess
+ *                         psSphereRot_CEOtoGCRS, psSphereRot_TEOtoCEO,
+ *                         psEOC_GetPolarMotion, psSphereRot_ITRStoTEO,
+ *
+ * Author: dRob <David.Robbins@mhpcc.hpc.mil>, (C) 2006
+ *
+ * Copyright: See COPYING file that comes with this distribution
+ *
+ */
+
+#include <pslib.h>
+#include <string.h>
+
+#include "tap.h"
+#include "pstap.h"
+
+static void testSphereRotCreate(void);
+//static void testSphereRotConvert(void);
+//static void testSphereOffsets(void);
+
+int main(void)
+{
+    plan_tests(1);
+
+    diag("Tests for psEarthOrientation Motion Functions");
+
+    testSphereRotCreate();
+    //    testSphereRotConvert();
+    //    testSphereOffsets();
+
+    done();
+}
+
+void testSphereRotCreate(void)
+{
+    diag("  >>>Test 1:  psSphereRot Creation Functions");
+    /*
+    //Tests for psSphereRotAlloc
+    //Return NULL for NAN input
+    {
+    psSphereRot *s1 = psSphereRotAlloc(ALPHA_P, NAN, PHI_P);
+    ok( s1 == NULL,
+    "psSphereRotAlloc:               return NULL for NAN input.");
+    }
+    //Tests for psMemCheckSphereRot
+    //Make sure psMemCheckSphereRot works correctly - return false
+    {
+    int j = 2;
+    ok( !psMemCheckSphereRot(&j),
+    "psMemCheckSphereRot:            return false for non-SphereRot input.");
+    skip_start(  s1 == NULL, 1,
+    "Skipping 1 tests because psSphereRot is NULL!");
+    skip_end();
+    }
+    */
+    //Check for Memory leaks
+    {
+        checkMem();
+    }
+
+}
+
