- Timestamp:
- Oct 8, 2009, 4:31:11 AM (15 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/python/examples/aubioonset.py
rca0a821 rca55954 1 from template import *1 from template import program_test_case 2 2 3 3 class aubioonset_unit(program_test_case): … … 7 7 progname = os.path.join('..','..','examples','aubioonset') 8 8 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 15 class aubioonset_unit_finds_onset(aubioonset_unit): 16 9 17 def test_aubioonset(self): 10 18 """ test aubioonset with default parameters """ … … 12 20 assert len(str(self.output)) != 0, "no output produced with command:\n" \ 13 21 + 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.output20 22 21 23 def test_aubioonset_with_no_silence(self):
Note: See TracChangeset
for help on using the changeset viewer.