#include "jtest.h" #include "arr_desc.h" #include "arm_math.h" #include "ref.h" #include "type_abbrev.h" #include "test_templates.h" #include "controller_test_data.h" #include "controller_templates.h" /** * Define a JTEST_TEST_t for the function arm_pid_xxx function having * suffix. */ #define ARM_PID_TEST(suffix,type) \ JTEST_DEFINE_TEST(arm_pid_##suffix##_test, arm_pid_##suffix) \ { \ uint32_t i,j; \ \ arm_pid_instance_##suffix fut_pid_inst = { 0 }; \ arm_pid_instance_##suffix ref_pid_inst = { 0 }; \ \ for(i=0;i