Changeset ab24edb


Ignore:
Timestamp:
Oct 29, 2018, 11:00:12 PM (12 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
95221ac
Parents:
adf09b2
Message:

[py] [tests] start slice tests at 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_slicing.py

    radf09b2 rab24edb  
    3535    def test_slice_start_every_blocksize(self):
    3636        hopsize = 200
    37         regions_start = [i*hopsize for i in range(1, n_slices)]
     37        regions_start = [i*hopsize for i in range(0, n_slices)]
    3838        slice_source_at_stamps(self.source_file, regions_start, output_dir = self.output_dir,
    3939                hopsize = 200)
     
    4141    def test_slice_start_every_half_blocksize(self):
    4242        hopsize = 200
    43         regions_start = [i*hopsize//2 for i in range(1, n_slices)]
     43        regions_start = [i*hopsize//2 for i in range(0, n_slices)]
    4444        slice_source_at_stamps(self.source_file, regions_start,
    4545                output_dir = self.output_dir, hopsize = 200)
Note: See TracChangeset for help on using the changeset viewer.