Index: trunk/psLib/test/math/tst_psSpline1D.c
===================================================================
--- trunk/psLib/test/math/tst_psSpline1D.c	(revision 5181)
+++ trunk/psLib/test/math/tst_psSpline1D.c	(revision 5183)
@@ -13,6 +13,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-09-29 20:20:32 $
+*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-09-29 20:25:54 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -137,8 +137,4 @@
 psS32 psSplineEvalTest_sub00(psS32 NumSplines)
 {
-    printf("\n");
-    printf("psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very\n");
-    printf("simple x->y mapping (defined by myFunc00()).  We do this for both F32\n");
-    printf("and F64 versions of the input x and y vectors.\n");
     psS32 testStatus = true;
     psS32 memLeaks=0;
@@ -152,4 +148,17 @@
     psSpline1D *tmpSpline = NULL;
 
+    printf("\n");
+    printf("Calling psVectorFitSpline1D() with NULL y-vector.  Should generate error.\n");
+    tmpSpline = psVectorFitSpline1D(NULL, NULL);
+    if (tmpSpline != NULL) {
+        printf("TEST ERROR: psVectorFitSpline1D() did not return NULL.\n");
+        testStatus = false;
+        psFree(tmpSpline);
+    }
+
+    printf("\n");
+    printf("psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very\n");
+    printf("simple x->y mapping (defined by myFunc00()).  We do this for both F32\n");
+    printf("and F64 versions of the input x and y vectors.\n");
     /****************************************************************************/
     /*    PS_TYPE_F32, PS_TYPE_F32 test          */
