From 2628932a40d769d8d0180ba6fed1e7b9b2718982 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 3 May 2020 19:53:02 +0200 Subject: minkbd: repo restructure --- .../inc/controller_tests/controller_templates.h | 46 ---------------------- 1 file changed, 46 deletions(-) delete mode 100644 Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/inc/controller_tests/controller_templates.h (limited to 'Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/inc/controller_tests/controller_templates.h') diff --git a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/inc/controller_tests/controller_templates.h b/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/inc/controller_tests/controller_templates.h deleted file mode 100644 index f7956fb..0000000 --- a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/inc/controller_tests/controller_templates.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef _CONTROLLER_TEMPLATES_H_ -#define _CONTROLLER_TEMPLATES_H_ - -/*--------------------------------------------------------------------------------*/ -/* Includes */ -/*--------------------------------------------------------------------------------*/ - -#include "test_templates.h" -#include /* memcpy() */ - -/*--------------------------------------------------------------------------------*/ -/* Group Specific Templates */ -/*--------------------------------------------------------------------------------*/ - -/** - * Comparison SNR thresholds for the data types used in transform_tests. - */ -#define CONTROLLER_SNR_THRESHOLD_float32_t 110 -#define CONTROLLER_SNR_THRESHOLD_q31_t 100 -#define CONTROLLER_SNR_THRESHOLD_q15_t 45 - -/** - * Compare the outputs from the function under test and the reference - * function using SNR. - */ -#define CONTROLLER_SNR_COMPARE_INTERFACE(block_size, \ - output_type) \ - do \ - { \ - TEST_CONVERT_AND_ASSERT_SNR( \ - controller_output_f32_ref, \ - (output_type *) controller_output_ref, \ - controller_output_f32_fut, \ - (output_type *) controller_output_fut, \ - block_size, \ - output_type, \ - CONTROLLER_SNR_THRESHOLD_##output_type \ - ); \ - } while (0) - - -/*--------------------------------------------------------------------------------*/ -/* TEST Templates */ -/*--------------------------------------------------------------------------------*/ - -#endif /* _CONTROLLER_TEMPLATES_H_ */ -- cgit