Ignore:
Timestamp:
Oct 8, 2009, 4:31:11 AM (15 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:
47f17fc
Parents:
ca0a821
Message:

tests/python/examples/aubioonset.py: do not check onset is actually detected with all functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/python/examples/aubioonset.py

    rca0a821 rca55954  
    1 from template import *
     1from template import program_test_case
    22
    33class aubioonset_unit(program_test_case):
     
    77  progname = os.path.join('..','..','examples','aubioonset')
    88
     9  def test_aubioonset_with_inf_silence(self):
     10    """ test aubioonset with -s 0  """
     11    self.command += " -s 0"
     12    self.getOutput()
     13    assert len(self.output) == 0, self.output
     14
     15class aubioonset_unit_finds_onset(aubioonset_unit):
     16
    917  def test_aubioonset(self):
    1018    """ test aubioonset with default parameters """
     
    1220    assert len(str(self.output)) != 0, "no output produced with command:\n" \
    1321      + self.command
    14 
    15   def test_aubioonset_with_inf_silence(self):
    16     """ test aubioonset with -s 0  """
    17     self.command += " -s 0"
    18     self.getOutput()
    19     assert len(self.output) == 0, self.output
    2022
    2123  def test_aubioonset_with_no_silence(self):
Note: See TracChangeset for help on using the changeset viewer.