Changeset 1976
- Timestamp:
- Oct 5, 2004, 3:46:23 PM (22 years ago)
- Location:
- trunk/psLib/test/dataManip
- Files:
-
- 2 added
- 1 edited
-
tst_psMinimize04.c (modified) (4 diffs)
-
verified/tst_psMinimize04.stderr (added)
-
verified/tst_psMinimize04.stdout (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMinimize04.c
r1953 r1976 60 60 printPositiveTestHeader(stdout, 61 61 "psMinimize functions", 62 "psVectorFitPolynomial1D(): equal errors inyErr");62 "psVectorFitPolynomial1D(): equal difference in variable yErr"); 63 63 64 64 psVectorFitPolynomial1D(myPoly, x, y, yErr); … … 94 94 printFooter(stdout, 95 95 "psMinimize functions", 96 "psVectorFitPolynomial1D(): equal errors inyErr",96 "psVectorFitPolynomial1D(): equal differences in variable yErr", 97 97 testStatus); 98 98 … … 227 227 int testStatus = true; 228 228 int memLeaks = 0; 229 psPolynomial1D *myPoly = NULL; 229 230 230 231 printPositiveTestHeader(stdout, … … 232 233 "psVectorFitPolynomial1D(): all inputs are NULL"); 233 234 234 psVectorFitPolynomial1D(NULL, NULL, NULL, NULL); 235 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for null input polynomial."); 236 myPoly = psVectorFitPolynomial1D(NULL, NULL, NULL, NULL); 237 if ( myPoly != NULL ) { 238 psError(__func__,"A null polynomial should have returned a null pointer."); 239 testStatus = false; 240 } 235 241 236 242
Note:
See TracChangeset
for help on using the changeset viewer.
