Changeset d03ee4b
- Timestamp:
- Apr 30, 2016, 6:19:23 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:
- 6014dc0
- Parents:
- d13f0bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_fft.py
rd13f0bb rd03ee4b 137 137 assert_almost_equal ( r[1:], 0) 138 138 139 def test_large_input_timegrain(self): 140 win_s = 1024 141 f = fft(win_s) 142 t = fvec(win_s + 1) 143 print f(t) 144 with self.assertRaises(ValueError): 145 print f(t) 146 147 def test_small_input_timegrain(self): 148 win_s = 1024 149 f = fft(win_s) 150 t = fvec(1) 151 print f(t).phas 152 with self.assertRaises(ValueError): 153 f(t) 154 139 155 if __name__ == '__main__': 140 156 from unittest import main
Note: See TracChangeset
for help on using the changeset viewer.