- 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
- Files:
-
- 5 added
- 2 edited
- 1 moved
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__': -
tests/src/Makefile.am
r1da7e08 rc721874 10 10 test-hist \ 11 11 test-scale \ 12 test-sample \ 12 test-cvec \ 13 test-fvec \ 13 14 test-window \ 14 15 test-filter \ -
tests/src/test-cvec.c
r1da7e08 rc721874 5 5 uint_t win_s = 1024; /* window size */ 6 6 uint_t channels = 1; /* number of channel */ 7 fvec_t * in = new_fvec (win_s, channels); /* input buffer */8 7 cvec_t * sp = new_cvec (win_s, channels); /* input buffer */ 9 del_fvec(in);10 8 del_cvec(sp); 11 9
Note: See TracChangeset
for help on using the changeset viewer.