Merge branch 'master' into feature/pytest
authorPaul Brossier <piem@piem.org>
Mon, 26 Nov 2018 17:53:43 +0000 (18:53 +0100)
committerPaul Brossier <piem@piem.org>
Mon, 26 Nov 2018 17:53:43 +0000 (18:53 +0100)
1  2 
python/tests/test_phasevoc.py

@@@ -55,8 -56,16 +55,17 @@@ class Test_aubio_pvoc_test_case(object)
                          + 'This is expected when using fftw3 on powerpc.')
              assert_equal ( r, 0.)
  
 -    @params(
+     def test_no_overlap(self):
+         win_s, hop_s = 1024, 1024
+         f = pvoc (win_s, hop_s)
+         t = fvec (hop_s)
+         for _ in range(4):
+             s = f(t)
+             r = f.rdo(s)
+             assert_equal ( t, 0.)
 +    resynth_noise_args = "hop_s, ratio"
 +    resynth_noise_values = [
              ( 256, 8),
              ( 256, 4),
              ( 256, 2),