#include #include "ts.h" bool ts_test_cumulative_sum( void ) { fp_t const x0[] = { 1, 2, 3, 4, 5, 6, 7, 8 }; fp_t const e0[] = { 1, 3, 6, 10, 15, 21, 28, 36 }; fp_t const * const x[] = { x0 }; fp_t const * const e[1] = { e0 }; return ts_test(ts_cumulative_sum, ts_cumulative_sum_offset, x, e, sizeof( x0 ) / sizeof( *x0 ), (ts_constant_t *)NULL, &ts_cumulative_sum_p); }