From: Paul Brossier Date: Wed, 12 Mar 2014 15:11:50 +0000 (-0300) Subject: tests/src: clean up includes X-Git-Tag: 0.4.1~3 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=332487b5ebab0fc2eba60233006d1cdf161fc8c4 tests/src: clean up includes --- diff --git a/tests/src/test-cvec.c b/tests/src/test-cvec.c index 75a19d7e..c1e6bca6 100644 --- a/tests/src/test-cvec.c +++ b/tests/src/test-cvec.c @@ -1,4 +1,4 @@ -#include +#include "aubio.h" #include "utils_tests.h" int main (void) diff --git a/tests/src/test-delnull.c b/tests/src/test-delnull.c index 1c7ecd85..6a0afc41 100644 --- a/tests/src/test-delnull.c +++ b/tests/src/test-delnull.c @@ -1,5 +1,5 @@ #include -#include +#include "aubio.h" // Because aubio does not check for double free, this program will crash. // Programs that call these functions should check for null pointers. diff --git a/tests/src/test-fmat.c b/tests/src/test-fmat.c index ab8b2746..218c027e 100644 --- a/tests/src/test-fmat.c +++ b/tests/src/test-fmat.c @@ -1,5 +1,5 @@ -#include -#include +#include "aubio.h" +#include "utils_tests.h" // create a new matrix and fill it with i * 1. + j * .1, where i is the row, // and j the column. diff --git a/tests/src/test-fvec.c b/tests/src/test-fvec.c index fbbd418d..c53e3968 100644 --- a/tests/src/test-fvec.c +++ b/tests/src/test-fvec.c @@ -1,5 +1,5 @@ -#include -#include +#include "aubio.h" +#include "utils_tests.h" int main (void) { diff --git a/tests/src/test-lvec.c b/tests/src/test-lvec.c index 6e5c5315..b1a2e0fb 100644 --- a/tests/src/test-lvec.c +++ b/tests/src/test-lvec.c @@ -1,4 +1,4 @@ -#include +#include "aubio.h" #include "utils_tests.h" int main (void) diff --git a/tests/src/test-mathutils-window.c b/tests/src/test-mathutils-window.c index e09626fd..4b45e7f1 100644 --- a/tests/src/test-mathutils-window.c +++ b/tests/src/test-mathutils-window.c @@ -1,6 +1,5 @@ -#include -#include -#include +#include "aubio.h" +#include "utils_tests.h" int main (void) { diff --git a/tests/src/test-mathutils.c b/tests/src/test-mathutils.c index ad20d75b..0a6eedff 100644 --- a/tests/src/test-mathutils.c +++ b/tests/src/test-mathutils.c @@ -1,7 +1,6 @@ -#include -#include #define AUBIO_UNSTABLE 1 -#include +#include "aubio.h" +#include "utils_tests.h" int test_next_power_of_two (void); int test_miditofreq (void);