File peak_detector_runner_test.c¶
FileList > csrc > tests > peak_detector_runner_test.c
Go to the source code of this file
#include "peak_detector.h"#include "unity.h"#include <stdint.h>#include <stdlib.h>#include <string.h>
Public Functions¶
| Type | Name |
|---|---|
| int | main (void) |
| void | setUp (void) |
| void | tearDown (void) |
Public Static Functions¶
| Type | Name |
|---|---|
| void | generate_signal (int16_t * dst, size_t num_taps, size_t tap_size, size_t peak_tap_idx, size_t peak_pos, int16_t peak_val) |
| void | test_detect_recording_basic (void) |
| void | test_detect_recording_large_generated (void) |
| void | test_detect_recording_multiple_hits (void) |
Public Functions Documentation¶
function main¶
function setUp¶
function tearDown¶
Public Static Functions Documentation¶
function generate_signal¶
static void generate_signal (
int16_t * dst,
size_t num_taps,
size_t tap_size,
size_t peak_tap_idx,
size_t peak_pos,
int16_t peak_val
)
function test_detect_recording_basic¶
function test_detect_recording_large_generated¶
function test_detect_recording_multiple_hits¶
The documentation for this class was generated from the following file scripts/median-filter/csrc/tests/peak_detector_runner_test.c