11 #define VOLK_INIT_PUPP(func, puppet_master_func, test_params)\
12 volk_test_case_t(func##_get_func_desc(), (void(*)())func##_manual, std::string(#func),\
13 std::string(#puppet_master_func), test_params)
15 #define VOLK_INIT_TEST(func, test_params)\
16 volk_test_case_t(func##_get_func_desc(), (void(*)())func##_manual, std::string(#func),\
19 #define QA(test) test_cases.push_back(test);
31 test_params_rotator.
set_scalar(std::polar(1.0f, 0.1f));
32 test_params_rotator.
set_tol(1e-3);
34 std::vector<volk_test_case_t> test_cases;
42 QA(
VOLK_INIT_PUPP(volk_32fc_s32fc_rotatorpuppet_32fc, volk_32fc_s32fc_x2_rotator_32fc, test_params_rotator))
74 QA(
VOLK_INIT_TEST(volk_32f_s32f_calc_spectral_noise_floor_32f, test_params_inacc))
76 QA(
VOLK_INIT_TEST(volk_32fc_x2_conjugate_dot_prod_32fc, test_params_inacc_tenth))