forked from KutningJo/signal_processing_vorlage
Initial commit
This commit is contained in:
commit
0d1b73e3e0
255 files changed
+16057
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "test_function.h"
|
||||
#include "../../software/signal_processing/system/float_word.h"
|
||||
|
||||
#define TEST_OK " [ OK ]"
|
||||
#define TEST_FAIL " [ FAIL ]"
|
||||
#define TEST_DONE "test done\n"
|
||||
|
||||
int device_test( test_function test, uint32_t binding, void * task, void * input_a, void * input_b, void * expected, float epsilon );
|
||||
|
||||
int assert_float_near( float expected, float value, float abs_err );
|
||||
|
||||
int assert_eq( uint32_t expected, uint32_t value );
|
||||
|
||||
void print_float_data_for_python( const float_word * data, uint32_t len );
|
||||
|
||||
void print_hex_data_for_python( const float_word * data, uint32_t len );
|
||||
|
||||
void print_results_for_python( uint32_t cycle_count, const float_word * data, uint32_t len );
|
||||
Reference in new issue
Block a user