Changeset f1dca0e


Ignore:
Timestamp:
Nov 3, 2007, 4:51:26 PM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
6ef7f67
Parents:
4f56a35
Message:

fvec test: change order in assertEqual

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/python/fvec.py

    r4f56a35 rf1dca0e  
    2222    for index in range(buf_size):
    2323      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))
    2525
    2626  def test_fvec_write_sample(self):
     
    3131    for index in range(buf_size):
    3232      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))
    3434
    3535if __name__ == '__main__':
Note: See TracChangeset for help on using the changeset viewer.