shithub: aubio

Download patch

ref: c631cc08bbeff8c43b69567d6f28571e9db70126
parent: f84f6bcee0edbae2abf373fe997e1025e541c5fe
author: Paul Brossier <piem@piem.org>
date: Thu Nov 29 11:57:36 EST 2018

[tests] add new_aubio_window tests

--- a/tests/src/test-mathutils.c
+++ b/tests/src/test-mathutils.c
@@ -102,7 +102,7 @@
   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);
 
@@ -116,5 +116,6 @@
   test_next_power_of_two();
   test_miditofreq();
   test_freqtomidi();
+  test_aubio_window();
   return 0;
 }