1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <stddef.h>
#include "ts.h"
bool ts_test_hull_ma( void )
{
fp_t const x0[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
fp_t const * const x[] = { x0 };
fp_t const e[] = { 6.333333, 7.333333, 8.333333, 9.333333, 10.333333 };
fp_t const * const exp[] = { e };
uint_t c = 5;
return ts_test(ts_hull_ma, ts_hull_ma_offset, x, exp, sizeof( x0 ) / sizeof( *x0 ), (ts_constant_t *)&c, &ts_hull_ma_p);
}
|