Index: trunk/psLib/test/math/tst_psFunc02.c
===================================================================
--- trunk/psLib/test/math/tst_psFunc02.c	(revision 5091)
+++ trunk/psLib/test/math/tst_psFunc02.c	(revision 5092)
@@ -51,5 +51,5 @@
             testStatus = false;
         }
-        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR+1) {
+        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR) {
             printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
             testStatus = false;
@@ -133,5 +133,5 @@
             testStatus = false;
         }
-        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR+1) {
+        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR) {
             printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
             testStatus = false;
@@ -188,5 +188,5 @@
             testStatus = false;
         }
-        if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC+1) {
+        if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC) {
             printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
             testStatus = false;
@@ -270,5 +270,5 @@
             testStatus = false;
         }
-        if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC+1) {
+        if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC) {
             printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
             testStatus = false;
@@ -330,5 +330,5 @@
             testStatus = false;
         }
-        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR+1) {
+        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR) {
             printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
             testStatus = false;
