- Timestamp:
- Apr 30, 2016, 6:22:58 AM (9 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 1f87c1b
- Parents:
- 6014dc0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_fft.py
r6014dc0 r437ef07 141 141 f = fft(win_s) 142 142 t = fvec(win_s + 1) 143 print f(t)144 143 with self.assertRaises(ValueError): 145 printf(t)144 f(t) 146 145 147 146 def test_small_input_timegrain(self): … … 149 148 f = fft(win_s) 150 149 t = fvec(1) 151 print f(t).phas152 150 with self.assertRaises(ValueError): 153 151 f(t) 152 153 def test_large_input_fftgrain(self): 154 win_s = 1024 155 f = fft(win_s) 156 s = cvec(win_s + 1) 157 with self.assertRaises(ValueError): 158 f.rdo(s) 159 160 def test_small_input_timegrain(self): 161 win_s = 1024 162 f = fft(win_s) 163 s = cvec(16) 164 with self.assertRaises(ValueError): 165 f.rdo(s) 154 166 155 167 if __name__ == '__main__':
Note: See TracChangeset
for help on using the changeset viewer.