Index: /trunk/psLib/test/math/tst_psSpline1D.c
===================================================================
--- /trunk/psLib/test/math/tst_psSpline1D.c	(revision 5646)
+++ /trunk/psLib/test/math/tst_psSpline1D.c	(revision 5647)
@@ -13,6 +13,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-11-18 20:04:38 $
+*  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-12-01 01:20:38 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -28,6 +28,6 @@
 // {testFunction, testpointNumber, description, expected rc, boolean-ignore this test}
 testDescription tests[] = {
-                              {psSplineAllocTest, 0000, "(TEST A) psSplineAllocTest", true, false},
-                              {psSplineEvalTest, 0000, "(TEST B) psSplineEvalTest", true, false},
+                              {psSplineAllocTest,      0000, "(TEST A) psSplineAllocTest",      true, false},
+                              {psSplineEvalTest,       0000, "(TEST B) psSplineEvalTest",       true, false},
                               {psSplineEvalVectorTest, 0000, "(TEST C) psSplineEvalVectorTest", true, false},
                               {NULL}
@@ -40,6 +40,7 @@
 otherwise it returns TRUE.
  ********************************************************************************/
-psBool CheckErrorF32(psF32 actual,
-                     psF32 expect)
+psBool CheckErrorF32(
+    psF32 actual,
+    psF32 expect)
 {
     if ((fabs(actual - expect) / fabs(expect)) > ERROR_TOLERANCE_PERCENT) {
@@ -50,10 +51,12 @@
 }
 
-psS32 main( psS32 argc, char* argv[] )
+psS32 main(
+    psS32 argc,
+    char* argv[])
 {
     psLogSetFormat("HLNM");
     psLogSetLevel( PS_LOG_INFO );
     //
-    // Set the following trace leevls to track what is happening in the
+    // Set the following trace levels to track what is happening in the
     // various functions in psSpline.c
     //
@@ -113,4 +116,11 @@
         testStatus = false;
     }
+    /*
+     XXX: Must allocate these members.
+        tmpSline->spline = (psPolynomial1D **) psAlloc(numSplines * sizeof(psPolynomial1D *));
+        for (psS32 i=0;i<numSplines;i++) {
+            spline->spline[i] = psPolynomial1DAlloc(3, PS_POLYNOMIAL_ORD);
+        }
+    */
 
     psFree(tmpSpline);
@@ -197,8 +207,7 @@
     }
 
-
     tmpSpline = psVectorFitSpline1D(xF32, yF32);
     if (tmpSpline == NULL) {
-        printf("TEST ERROR: Could not allocate psSpline1D data structure\n");
+        printf("TEST ERROR: Could not allocate psSpline1D data structure (1)\n");
         testStatus = false;
     }
@@ -712,8 +721,8 @@
     psS32 testStatus = psSplineEvalTest_sub(10);
 
-    // HEY
-    testStatus |= psSplineEvalTest_sub00(0);
-    testStatus |= psSplineEvalTest_sub00b(0);
-    testStatus |= psSplineEvalTest_sub00c(0);
+    // HEY: XXX: Test with empty psVectors.
+    //    testStatus |= psSplineEvalTest_sub00(0);
+    //    testStatus |= psSplineEvalTest_sub00b(0);
+    //    testStatus |= psSplineEvalTest_sub00c(0);
 
     testStatus |= psSplineEvalTest_sub00(1);
Index: /trunk/psLib/test/math/verified/tst_psSpline1D.stdout
===================================================================
--- /trunk/psLib/test/math/verified/tst_psSpline1D.stdout	(revision 5646)
+++ /trunk/psLib/test/math/verified/tst_psSpline1D.stdout	(revision 5647)
@@ -5,11 +5,41 @@
 simple x->y mapping (defined by myFunc00()).  We do this for both F32
 and F64 versions of the input x and y vectors.
+    Number of splines: 1
+Performing the F32 test....
+Performing the F64 test....
 
 psSplineEvalTest_sub00b(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a
 more complicated x->y mapping (defined by myFunc00b()).  We do this for
 both F32 and F64 versions of the input x and y vectors.
+    Number of splines: 1
+Performing the F32 test....
+Performing the F64 test....
 
 psSplineEvalTest_sub00c(): This is similar to psSplineEvalTest_sub00b()
 except that the x vector is NULL.
+    Number of splines: 1
+Performing the F32 test....
+Performing the F64 test....
+
+psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very
+simple x->y mapping (defined by myFunc00()).  We do this for both F32
+and F64 versions of the input x and y vectors.
+    Number of splines: 95
+Performing the F32 test....
+Performing the F64 test....
+
+psSplineEvalTest_sub00b(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a
+more complicated x->y mapping (defined by myFunc00b()).  We do this for
+both F32 and F64 versions of the input x and y vectors.
+    Number of splines: 95
+Performing the F32 test....
+Performing the F64 test....
+
+psSplineEvalTest_sub00c(): This is similar to psSplineEvalTest_sub00b()
+except that the x vector is NULL.
+    Number of splines: 95
+Performing the F32 test....
+Performing the F64 test....
+Performing the F32 test....
 Testing psSpline1DEvalVector() with an F32 vector.
 Testing psSpline1DEvalVector() with an F64 vector.
