From: Paul Brossier Date: Tue, 10 Jul 2012 22:29:59 +0000 (-0700) Subject: tests/src/test-lvec.c, tests/src/test-fmat.c: add boilerplate X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd60b5c250ac64ab1aa827a6b26f2e800bb2dfc2;p=aubio.git tests/src/test-lvec.c, tests/src/test-fmat.c: add boilerplate --- 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; +} +