diff options
Diffstat (limited to 'test/rainbow_ma.c')
| -rw-r--r-- | test/rainbow_ma.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/rainbow_ma.c b/test/rainbow_ma.c new file mode 100644 index 0000000..a5fefe3 --- /dev/null +++ b/test/rainbow_ma.c @@ -0,0 +1,13 @@ +#include <stddef.h> +#include "ts.h" + +bool ts_test_rainbow_ma( void ) +{ + fp_t const x0[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 }; + fp_t const e0[] = { 15.0, 16.0 }; + + fp_t const * const x[] = { x0 }; + fp_t const * const e[] = { e0 }; + + return ts_test(ts_rainbow_ma, ts_rainbow_ma_offset, x, e, 21, (ts_constant_t *)NULL, &ts_rainbow_ma_p); +} |