Changeset 5183
- Timestamp:
- Sep 29, 2005, 10:25:54 AM (21 years ago)
- Location:
- trunk/psLib/test/math
- Files:
-
- 4 edited
-
tst_psMinimize06.c (modified) (2 diffs)
-
tst_psSpline1D.c (modified) (3 diffs)
-
verified/tst_psSpline1D.stderr (modified) (1 diff)
-
verified/tst_psSpline1D.stdout (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tst_psMinimize06.c
r5182 r5183 3 3 4 4 XXX: This code needs a lot of additional test case work. 5 XXX: Use the tst_template. 5 6 *****************************************************************************/ 6 7 #include <stdio.h> … … 123 124 psTraceSetDestination(1); 124 125 psTraceSetLevel(".", 0); 125 psTraceSetLevel(__func__, 10);126 psTraceSetLevel("t01", 10);127 psTraceSetLevel("psMinimizeLMChi2_OLD", 10);128 psTraceSetLevel("psMinimizeLMChi2", 10);126 psTraceSetLevel(__func__, 0); 127 psTraceSetLevel("t01", 0); 128 psTraceSetLevel("psMinimizeLMChi2_OLD", 0); 129 psTraceSetLevel("psMinimizeLMChi2", 0); 129 130 psTraceSetLevel("psMinimizeGaussNewtonDelta", 0); 130 131 psTraceSetLevel("psMinimizeGaussNewtonDelta_EAM", 0); -
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 */ -
trunk/psLib/test/math/verified/tst_psSpline1D.stderr
r5155 r5183 14 14 \**********************************************************************************/ 15 15 16 <HOST>|E|psVectorFitSpline1D (FILE:LINENO) 17 Unallowable operation: psVector y or its data is NULL. 16 18 17 19 ---> TESTPOINT PASSED (psSpline1D{(TEST B) psSplineEvalTest} | tst_psSpline1D.c) -
trunk/psLib/test/math/verified/tst_psSpline1D.stdout
r5181 r5183 1 2 Calling psVectorFitSpline1D() with NULL y-vector. Should generate error. 1 3 2 4 psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very
Note:
See TracChangeset
for help on using the changeset viewer.
