ref: 332487b5ebab0fc2eba60233006d1cdf161fc8c4
parent: 46148d38d62c4732b7f6f7fe574e41744630cabb
author: Paul Brossier <[email protected]>
date: Wed Mar 12 08:11:50 EDT 2014
tests/src: clean up includes
--- a/tests/src/test-cvec.c
+++ b/tests/src/test-cvec.c
@@ -1,4 +1,4 @@
-#include <aubio.h>
+#include "aubio.h"
#include "utils_tests.h"
int main (void)
--- a/tests/src/test-delnull.c
+++ b/tests/src/test-delnull.c
@@ -1,5 +1,5 @@
#include <stdlib.h>
-#include <aubio.h>
+#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.
--- a/tests/src/test-fmat.c
+++ b/tests/src/test-fmat.c
@@ -1,5 +1,5 @@
-#include <aubio.h>
-#include <assert.h>
+#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.
--- a/tests/src/test-fvec.c
+++ b/tests/src/test-fvec.c
@@ -1,5 +1,5 @@
-#include <aubio.h>
-#include <assert.h>
+#include "aubio.h"
+#include "utils_tests.h"
int main (void)
{
--- a/tests/src/test-lvec.c
+++ b/tests/src/test-lvec.c
@@ -1,4 +1,4 @@
-#include <aubio.h>
+#include "aubio.h"
#include "utils_tests.h"
int main (void)
--- a/tests/src/test-mathutils-window.c
+++ b/tests/src/test-mathutils-window.c
@@ -1,6 +1,5 @@
-#include <aubio.h>
-#include <math.h>
-#include <stdio.h>
+#include "aubio.h"
+#include "utils_tests.h"
int main (void)
{
--- a/tests/src/test-mathutils.c
+++ b/tests/src/test-mathutils.c
@@ -1,7 +1,6 @@
-#include <stdio.h>
-#include <assert.h>
#define AUBIO_UNSTABLE 1
-#include <aubio.h>
+#include "aubio.h"
+#include "utils_tests.h"
int test_next_power_of_two (void);
int test_miditofreq (void);