Changeset 8e9cb57 for python/tests
- Timestamp:
- Mar 18, 2013, 4:52:43 PM (12 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:
- 9615b03
- Parents:
- 78a42e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_specdesc.py
r78a42e2 r8e9cb57 104 104 a = arange(c.length, dtype='float32') 105 105 c.norm = a 106 assert_almost_equal( sum(a * log(1.+ a/1.e-1 0) ) / o(c), 1., decimal=6)106 assert_almost_equal( sum(a * log(1.+ a/1.e-1 ) ) / o(c), 1., decimal=6) 107 107 108 108 def test_mkl(self): … … 112 112 a = arange(c.length, dtype='float32') 113 113 c.norm = a 114 assert_almost_equal( sum(log(1.+ a/1.e-1 0) ) / o(c), 1, decimal=6)114 assert_almost_equal( sum(log(1.+ a/1.e-1 ) ) / o(c), 1, decimal=6) 115 115 116 116 def test_specflux(self):
Note: See TracChangeset
for help on using the changeset viewer.