11 #define VOLK_INIT_PUPP(func, puppet_master_func, test_params) \
12 volk_test_case_t(func##_get_func_desc(), \
13 (void (*)())func##_manual, \
15 std::string(#puppet_master_func), \
18 #define VOLK_INIT_TEST(func, test_params) \
19 volk_test_case_t(func##_get_func_desc(), \
20 (void (*)())func##_manual, \
24 #define QA(test) test_cases.push_back(test);
36 test_params_rotator.
set_scalar(std::polar(1.0f, 0.1f));
37 test_params_rotator.
set_tol(1e-3);
39 std::vector<volk_test_case_t> test_cases;
48 volk_32fc_s32fc_x2_rotator_32fc,
53 volk_32f_x2_fm_detectpuppet_32f, volk_32f_s32f_32f_fm_detect_32f,
test_params))
83 QA(
VOLK_INIT_TEST(volk_32f_s32f_calc_spectral_noise_floor_32f, test_params_inacc))
85 QA(
VOLK_INIT_TEST(volk_32fc_x2_conjugate_dot_prod_32fc, test_params_inacc_tenth))
155 volk_8u_x3_encodepolarpuppet_8u, volk_8u_x3_encodepolar_8u_x2,
test_params))
157 volk_32f_8u_polarbutterfly_32f,