ref: cd60b5c250ac64ab1aa827a6b26f2e800bb2dfc2
parent: c1ca5b632a9bf19bf11118cb8fd46b3a6b322360
author: Paul Brossier <piem@piem.org>
date: Tue Jul 10 11:29:59 EDT 2012
tests/src/test-lvec.c, tests/src/test-fmat.c: add boilerplate
--- /dev/null
+++ b/tests/src/test-fmat.c
@@ -1,0 +1,11 @@
+#include <aubio.h>
+
+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;
+}
+
--- /dev/null
+++ b/tests/src/test-lvec.c
@@ -1,0 +1,11 @@
+#include <aubio.h>
+
+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;
+}
+