Changeset 67f0092 for python/tests
- Timestamp:
- Aug 29, 2016, 11:07:15 PM (8 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:
- 41fc24f
- Parents:
- 55027f3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_cvec.py
r55027f3 r67f0092 12 12 def test_vector_created_with_zeroes(self): 13 13 a = cvec(10) 14 assert_equal(a.norm.shape[0], 10 / 2 + 1) 15 assert_equal(a.phas.shape[0], 10 / 2 + 1) 16 _ = a.norm[0] 14 assert_equal(a.norm.shape[0], 10 // 2 + 1) 15 assert_equal(a.phas.shape[0], 10 // 2 + 1) 17 16 assert_equal(a.norm, 0.) 18 17 assert_equal(a.phas, 0.)
Note: See TracChangeset
for help on using the changeset viewer.