Changeset 3096 for trunk/psLib/test/dataManip/tst_psFunc03.c
- Timestamp:
- Jan 26, 2005, 10:41:04 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psFunc03.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psFunc03.c
r2392 r3096 61 61 } 62 62 63 if (tmpSpline-> domains == NULL) {64 printf("ERROR: Could not allocate psSpline1D-> domains data structure\n");63 if (tmpSpline->knots == NULL) { 64 printf("ERROR: Could not allocate psSpline1D->knots data structure\n"); 65 65 testStatus = false; 66 66 } 67 67 68 68 for (i=0;i<N+1;i++) { 69 if (tmpSpline->domains[i] != bounds->data.F32[i]) { 70 printf("ERROR: psSpline1D->domains[%d] is %f\n", i, tmpSpline->domains[i]); 69 if (tmpSpline->knots->data.F32[i] != bounds->data.F32[i]) { 70 printf("ERROR: psSpline1D->knots->data.F32[%d] is %f\n", i, 71 tmpSpline->knots->data.F32[i]); 71 72 } 72 73 } … … 121 122 } 122 123 123 if (tmpSpline-> domains == NULL) {124 printf("ERROR: Could not allocate psSpline1D-> domains data structure\n");124 if (tmpSpline->knots == NULL) { 125 printf("ERROR: Could not allocate psSpline1D->knots data structure\n"); 125 126 testStatus = false; 126 127 } 127 128 128 129 for (i=0;i<N+1;i++) { 129 if (tmpSpline->domains[i] != bounds->data.F32[i]) { 130 printf("ERROR: psSpline1D->domains[%d] is %f\n", i, tmpSpline->domains[i]); 130 if (tmpSpline->knots->data.F32[i] != bounds->data.F32[i]) { 131 printf("ERROR: psSpline1D->knots->data.F32[%d] is %f\n", i, 132 tmpSpline->knots->data.F32[i]); 131 133 } 132 134 }
Note:
See TracChangeset
for help on using the changeset viewer.
