Merge branch 'master' into feature/pytest
[aubio.git] / python / tests / test_phasevoc.py
index e17d1fd..cf3b7ac 100755 (executable)
@@ -55,6 +55,15 @@ class Test_aubio_pvoc_test_case(object):
                         + 'This is expected when using fftw3 on powerpc.')
             assert_equal ( r, 0.)
 
+    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),