Changeset de0a492 for python/tests/test_filterbank.py
- Timestamp:
- May 3, 2016, 4:19:28 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:
- fcef3fd
- Parents:
- 7aed123
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_filterbank.py
r7aed123 rde0a492 62 62 assert_almost_equal ( expected, f.get_coeffs() ) 63 63 64 def test_filterbank_long_cvec(self): 65 f = filterbank(40, 512) 66 with self.assertRaises(ValueError): 67 f(cvec(1024)) 68 69 def test_filterbank_short_cvec(self): 70 f = filterbank(40, 512) 71 with self.assertRaises(ValueError): 72 f(cvec(256)) 73 64 74 if __name__ == '__main__': 65 75 from nose2 import main
Note: See TracChangeset
for help on using the changeset viewer.