Changeset 5747081


Ignore:
Timestamp:
Mar 3, 2013, 9:19:35 PM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
45f0f4a
Parents:
0bd161d
Message:

tests/python/src/temporal/c_weighting.py: replaced by python/tests/test_filter.py

Files:
1 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • python/tests/test_filter.py

    r0bd161d r5747081  
    4141    assert_almost_equal (expected[1], u)
    4242
     43  def test_c_weighting_8000(self):
     44    expected = array_from_text_file('c_weighting_test_simple_8000.expected')
     45    f = digital_filter(5)
     46    f.set_c_weighting(8000)
     47    v = fvec(32)
     48    v[12] = .5
     49    u = f(v)
     50    assert_almost_equal (expected[1], u)
     51
    4352  def test_a_weighting(self):
    4453    expected = array_from_text_file('a_weighting_test_simple.expected')
Note: See TracChangeset for help on using the changeset viewer.