Changeset c721874 for tests/python
- Timestamp:
- Nov 3, 2007, 7:03:04 PM (17 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:
- d4a6eb9
- Parents:
- 1da7e08 (diff), 2d8880d5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- tests/python
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/python/fvec.py
r1da7e08 rc721874 22 22 for index in range(buf_size): 23 23 for channel in range(channels): 24 self.assertEqual( fvec_read_sample(self.vector,channel,index),0.)24 self.assertEqual(0., fvec_read_sample(self.vector,channel,index)) 25 25 26 26 def test_fvec_write_sample(self): … … 31 31 for index in range(buf_size): 32 32 for channel in range(channels): 33 self.assertEqual( fvec_read_sample(self.vector,channel,index),1.)33 self.assertEqual(1., fvec_read_sample(self.vector,channel,index)) 34 34 35 35 if __name__ == '__main__':
Note: See TracChangeset
for help on using the changeset viewer.