Changeset 5183 for trunk/psLib/test/math/tst_psSpline1D.c
- Timestamp:
- Sep 29, 2005, 10:25:54 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/math/tst_psSpline1D.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tst_psSpline1D.c
r5181 r5183 13 13 * @author GLG, MHPCC 14 14 * 15 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-09-29 20:2 0:32$15 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-09-29 20:25:54 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 137 137 psS32 psSplineEvalTest_sub00(psS32 NumSplines) 138 138 { 139 printf("\n");140 printf("psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very\n");141 printf("simple x->y mapping (defined by myFunc00()). We do this for both F32\n");142 printf("and F64 versions of the input x and y vectors.\n");143 139 psS32 testStatus = true; 144 140 psS32 memLeaks=0; … … 152 148 psSpline1D *tmpSpline = NULL; 153 149 150 printf("\n"); 151 printf("Calling psVectorFitSpline1D() with NULL y-vector. Should generate error.\n"); 152 tmpSpline = psVectorFitSpline1D(NULL, NULL); 153 if (tmpSpline != NULL) { 154 printf("TEST ERROR: psVectorFitSpline1D() did not return NULL.\n"); 155 testStatus = false; 156 psFree(tmpSpline); 157 } 158 159 printf("\n"); 160 printf("psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very\n"); 161 printf("simple x->y mapping (defined by myFunc00()). We do this for both F32\n"); 162 printf("and F64 versions of the input x and y vectors.\n"); 154 163 /****************************************************************************/ 155 164 /* PS_TYPE_F32, PS_TYPE_F32 test */
Note:
See TracChangeset
for help on using the changeset viewer.
