Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -56,6 +56,15 @@ class aubio_pvoc_test_case(TestCase): · 55 unmodified lines | ||
| 56 | 56 | + 'This is expected when using fftw3 on powerpc.') |
| 57 | 57 | assert_equal ( r, 0.) |
| 58 | 58 | |
| 59 | + def test_no_overlap(self): | |
| 60 | + win_s, hop_s = 1024, 1024 | |
| 61 | + f = pvoc (win_s, hop_s) | |
| 62 | + t = fvec (hop_s) | |
| 63 | + for _ in range(4): | |
| 64 | + s = f(t) | |
| 65 | + r = f.rdo(s) | |
| 66 | + assert_equal ( t, 0.) | |
| 67 | + | |
| 59 | 68 | @params( |
| 60 | 69 | ( 256, 8), |
| 61 | 70 | ( 256, 4), |