Changeset 2089
- Timestamp:
- Oct 13, 2004, 12:15:27 PM (22 years ago)
- Location:
- trunk/psLib/test/dataManip
- Files:
-
- 2 added
- 1 edited
-
tst_psMinimize04b.c (modified) (5 diffs)
-
verified/tst_psMinimize04b.stderr (added)
-
verified/tst_psMinimize04b.stdout (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMinimize04b.c
r1953 r2089 55 55 psVectorFitPolynomial1D(myPoly, x, y, yErr); 56 56 57 for (i=0;i<POLY_ORDER+1;i++) { 58 printf("Polynomial coefficient %d is %0.1f\n", i, myPoly->coeff[i]); 59 } 57 // Remove for testing since print out differs from platforms 58 // for (i=0;i<POLY_ORDER+1;i++) { 59 // printf("Polynomial coefficient %d is %0.1f\n", i, myPoly->coeff[i]); 60 // } 60 61 61 62 // We don't test the first or last few data items. … … 67 68 i, x->data.F64[i], actualData, expectData); 68 69 testStatus = false; 69 } else {70 printf("Fitted data %d: (%.1f %.1f), expected was (%.1f)\n",71 i, x->data.F64[i], actualData, expectData);72 70 } 71 // Remove for testing since print out differs from platforms 72 // } else { 73 // printf("Fitted data %d: (%.1f %.1f), expected was (%.1f)\n", 74 // i, x->data.F64[i], actualData, expectData); 75 // } 73 76 } 74 77 … … 126 129 i, x->data.F64[i], actualData, expectData); 127 130 testStatus = false; 128 } else {129 printf("Fitted data %d: (%.1f %.1f), expected was (%.1f)\n",130 i, x->data.F64[i], actualData, expectData);131 131 } 132 // Remove for testing since print out differs from platforms 133 // } else { 134 // printf("Fitted data %d: (%.1f %.1f), expected was (%.1f)\n", 135 // i, x->data.F64[i], actualData, expectData); 136 // } 132 137 } 133 138 … … 184 189 i, x->data.F64[i], actualData, expectData); 185 190 testStatus = false; 186 } else {187 printf("Fitted data %d: (%.1f %.1f), expected was (%.1f)\n",188 i, x->data.F64[i], actualData, expectData);189 191 } 192 // Remove for testing since print out differs from platforms 193 // } else { 194 // printf("Fitted data %d: (%.1f %.1f), expected was (%.1f)\n", 195 // i, x->data.F64[i], actualData, expectData); 196 // } 190 197 } 191 198 … … 218 225 "psVectorFitPolynomial1D(): CHEB, yErr is NULL"); 219 226 227 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for null arguments."); 220 228 myPoly = psVectorFitPolynomial1D(NULL, NULL, NULL, NULL); 221 229 if (myPoly != NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
