projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f84f6bc
)
[tests] add new_aubio_window tests
author
Paul Brossier
<piem@piem.org>
Thu, 29 Nov 2018 15:57:36 +0000
(16:57 +0100)
committer
Paul Brossier
<piem@piem.org>
Thu, 29 Nov 2018 15:57:36 +0000
(16:57 +0100)
tests/src/test-mathutils.c
patch
|
blob
|
history
diff --git
a/tests/src/test-mathutils.c
b/tests/src/test-mathutils.c
index
0a6eedf
..
43c8822
100644
(file)
--- a/
tests/src/test-mathutils.c
+++ b/
tests/src/test-mathutils.c
@@
-102,7
+102,7
@@
int test_aubio_window (void)
fvec_print(window);
window_size /= 2.;
fvec_print(window);
window_size /= 2.;
- window = new_aubio_window("
triangle
", window_size);
+ window = new_aubio_window("
parzen
", window_size);
fvec_print(window);
del_fvec(window);
fvec_print(window);
del_fvec(window);
@@
-116,5
+116,6
@@
int main (void)
test_next_power_of_two();
test_miditofreq();
test_freqtomidi();
test_next_power_of_two();
test_miditofreq();
test_freqtomidi();
+ test_aubio_window();
return 0;
}
return 0;
}