From cd60b5c250ac64ab1aa827a6b26f2e800bb2dfc2 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 10 Jul 2012 15:29:59 -0700 Subject: [PATCH] tests/src/test-lvec.c, tests/src/test-fmat.c: add boilerplate --- tests/src/test-fmat.c | 11 +++++++++++ tests/src/test-lvec.c | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 tests/src/test-fmat.c create mode 100644 tests/src/test-lvec.c diff --git a/tests/src/test-fmat.c b/tests/src/test-fmat.c new file mode 100644 index 00000000..89daa29b --- /dev/null +++ b/tests/src/test-fmat.c @@ -0,0 +1,11 @@ +#include + +int main(){ + uint_t length = 1024; /* length */ + uint_t height = 1024; /* height */ + fmat_t * mat = new_fmat (length, height); /* input buffer */ + fmat_print(mat); + del_fmat(mat); + return 0; +} + diff --git a/tests/src/test-lvec.c b/tests/src/test-lvec.c new file mode 100644 index 00000000..4fdc999a --- /dev/null +++ b/tests/src/test-lvec.c @@ -0,0 +1,11 @@ +#include + +int main(){ + /* allocate some memory */ + uint_t win_s = 1024; /* window size */ + lvec_t * sp = new_lvec (win_s); /* input buffer */ + del_lvec(sp); + + return 0; +} + -- 2.26.2