- Timestamp:
- Aug 15, 2023, 4:59:00 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/psLib/test/math/tap_psSparse.c
r13124 r42493 1 #include <stdio.h>1 #include <stdio.h> 2 2 #include <string.h> 3 3 #include <pslib.h> … … 227 227 // test the support functions: LowerProduct 228 228 fVec = psSparseBorderLowerProduct(NULL, border, xRef); 229 is_ float(fVec->n, 1.0, "f dimen: %d", fVec->n);229 is_int(fVec->n, 1.0, "f dimen: %d", fVec->n); 230 230 is_float(fVec->data.F32[0], 0.3, "f(0): %f", fVec->data.F32[0]); 231 231 psFree(fVec); … … 233 233 // test the support functions: Upper Product 234 234 fVec = psSparseBorderUpperProduct(NULL, border, yRef); 235 is_ float(fVec->n, 2.0, "f dimen: %d", fVec->n);235 is_int(fVec->n, 2.0, "f dimen: %d", fVec->n); 236 236 is_float(fVec->data.F32[0], 0.05, "f(0): %f", fVec->data.F32[0]); 237 237 is_float(fVec->data.F32[1], 0.10, "f(0): %f", fVec->data.F32[1]); … … 240 240 // test the support functions: Square Product 241 241 fVec = psSparseBorderSquareProduct(NULL, border, yRef); 242 is_ float(fVec->n, 1.0, "f dimen: %d", fVec->n);242 is_int(fVec->n, 1.0, "f dimen: %d", fVec->n); 243 243 is_float(fVec->data.F32[0], 0.25, "f(0): %f", fVec->data.F32[0]); 244 244 psFree(fVec);
Note:
See TracChangeset
for help on using the changeset viewer.
