Subversion Repositories FuelGauge

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include "jtest.h"
  2. #include "complex_math_test_data.h"
  3. #include "arr_desc.h"
  4. #include "arm_math.h"           /* FUTs */
  5. #include "ref.h"                /* Reference Functions */
  6. #include "test_templates.h"
  7. #include "complex_math_templates.h"
  8. #include "type_abbrev.h"
  9.  
  10. #define JTEST_ARM_CMPLX_MULT_CMPLX_TEST(suffix) \
  11.     COMPLEX_MATH_DEFINE_TEST_TEMPLATE_BUF2_BLK( \
  12.         cmplx_mult_cmplx,                       \
  13.         suffix,                                 \
  14.         TYPE_FROM_ABBREV(suffix),               \
  15.         TYPE_FROM_ABBREV(suffix),               \
  16.         COMPLEX_MATH_COMPARE_CMPLX_INTERFACE)
  17.  
  18. JTEST_ARM_CMPLX_MULT_CMPLX_TEST(f32);
  19. JTEST_ARM_CMPLX_MULT_CMPLX_TEST(q31);
  20. JTEST_ARM_CMPLX_MULT_CMPLX_TEST(q15);
  21.  
  22. /*--------------------------------------------------------------------------------*/
  23. /* Collect all tests in a group. */
  24. /*--------------------------------------------------------------------------------*/
  25.  
  26. JTEST_DEFINE_GROUP(cmplx_mult_cmplx_tests)
  27. {
  28.     JTEST_TEST_CALL(arm_cmplx_mult_cmplx_f32_test);
  29.     JTEST_TEST_CALL(arm_cmplx_mult_cmplx_q31_test);
  30.     JTEST_TEST_CALL(arm_cmplx_mult_cmplx_q15_test);
  31. }
  32.