Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 2 | mjames | 1 | #include "jtest.h" |
| 2 | #include "support_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 "support_templates.h" |
||
| 8 | #include "type_abbrev.h" |
||
| 9 | |||
| 10 | #define JTEST_ARM_FILL_TEST(suffix) \ |
||
| 11 | SUPPORT_DEFINE_TEST_TEMPLATE_ELT1_BLK( \ |
||
| 12 | fill, \ |
||
| 13 | suffix, \ |
||
| 14 | TYPE_FROM_ABBREV(suffix), \ |
||
| 15 | TYPE_FROM_ABBREV(suffix), \ |
||
| 16 | SUPPORT_COMPARE_INTERFACE) |
||
| 17 | |||
| 18 | JTEST_ARM_FILL_TEST(f32); |
||
| 19 | JTEST_ARM_FILL_TEST(q31); |
||
| 20 | JTEST_ARM_FILL_TEST(q15); |
||
| 21 | JTEST_ARM_FILL_TEST(q7); |
||
| 22 | |||
| 23 | /*--------------------------------------------------------------------------------*/ |
||
| 24 | /* Collect all tests in a group. */ |
||
| 25 | /*--------------------------------------------------------------------------------*/ |
||
| 26 | |||
| 27 | JTEST_DEFINE_GROUP(fill_tests) |
||
| 28 | { |
||
| 29 | /* |
||
| 30 | To skip a test, comment it out. |
||
| 31 | */ |
||
| 32 | JTEST_TEST_CALL(arm_fill_f32_test); |
||
| 33 | JTEST_TEST_CALL(arm_fill_q31_test); |
||
| 34 | JTEST_TEST_CALL(arm_fill_q15_test); |
||
| 35 | JTEST_TEST_CALL(arm_fill_q7_test); |
||
| 36 | } |