Changeset b41672c for python


Ignore:
Timestamp:
Nov 17, 2018, 7:47:12 PM (12 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
11c0d74
Parents:
f7af440
Message:

[test] improve coverage of filters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_filter.py

    rf7af440 rb41672c  
    7878            f.set_biquad(0., 0., 0, 0., 0.)
    7979
     80    def test_all_available_presets(self):
     81        f = digital_filter(7)
     82        for sr in [8000, 11025, 16000, 22050, 24000, 32000,
     83                44100, 48000, 88200, 96000, 192000]:
     84            f.set_a_weighting(sr)
     85        f = digital_filter(5)
     86        for sr in [8000, 11025, 16000, 22050, 24000, 32000,
     87                44100, 48000, 88200, 96000, 192000]:
     88            f.set_c_weighting(sr)
     89
    8090class aubio_filter_wrong_params(TestCase):
    8191
Note: See TracChangeset for help on using the changeset viewer.