X-Git-Url: https://git.sesse.net/?p=fjl;a=blobdiff_plain;f=idct_test.c;h=d7b543cbc931f3f6f63782ab175524eedb438f8f;hp=dd15270265c5be2b17226f5cc7aeff70403cada0;hb=85cda6b1da31916b0127d1217825dea725619245;hpb=56779091c47e5c61376d7f942cc58b831673e1d7 diff --git a/idct_test.c b/idct_test.c index dd15270..d7b543c 100644 --- a/idct_test.c +++ b/idct_test.c @@ -8,6 +8,7 @@ #include "idct.h" #include "idct_reference.h" #include "idct_float.h" +#include "idct_imprecise_int.h" // Generate random coefficients in the range [-15..15]. void gen_random_coeffs(int16_t* dst, size_t len) @@ -144,6 +145,9 @@ int main(void) printf("idct_float:\n"); test_all_idct(idct_float_alloc, idct_float_free, idct_float); + + printf("idct_imprecise_int:\n"); + test_all_idct(idct_imprecise_int_alloc, idct_imprecise_int_free, idct_imprecise_int); printf("All tests pass.\n"); return 0;