- Timestamp:
- Nov 2, 2018, 10:09:36 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 7fd92ca
- Parents:
- 67024ff
- Location:
- python/tests
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_mfcc.py
r67024ff r8607a74 15 15 new_deflts = [1024, 40, 13, 44100] 16 16 17 class Test_aubio_mfcc :17 class Test_aubio_mfcc(object): 18 18 19 19 members_args = 'name' … … 75 75 76 76 77 class Test_aubio_mfcc_all_parameters :77 class Test_aubio_mfcc_all_parameters(object): 78 78 79 79 run_values = [ -
python/tests/test_midi2note.py
r67024ff r8607a74 15 15 ) 16 16 17 class Test_midi2note_good_values :17 class Test_midi2note_good_values(object): 18 18 19 19 @parametrize('midi, note', list_of_known_midis) … … 22 22 assert midi2note(midi) == (note) 23 23 24 class Test_midi2note_wrong_values :24 class Test_midi2note_wrong_values(object): 25 25 26 26 def test_midi2note_negative_value(self): -
python/tests/test_note2midi.py
r67024ff r8607a74 45 45 ) 46 46 47 class Test_note2midi_good_values :47 class Test_note2midi_good_values(object): 48 48 49 49 @parametrize('note, midi', list_of_known_notes) … … 108 108 self.assertRaises(ValueError, note2midi, 'CB+-3') 109 109 110 class Test_note2midi_unknown_values :110 class Test_note2midi_unknown_values(object): 111 111 112 112 @parametrize('note', list_of_unknown_notes) -
python/tests/test_phasevoc.py
r67024ff r8607a74 18 18 return np.random.rand(hop_s).astype(float_type) * 2. - 1. 19 19 20 class Test_aubio_pvoc_test_case :20 class Test_aubio_pvoc_test_case(object): 21 21 """ pvoc object test case """ 22 22 -
python/tests/test_sink.py
r67024ff r8607a74 20 20 all_params.append((hop_size, samplerate, soundfile)) 21 21 22 class Test_aubio_sink :22 class Test_aubio_sink(object): 23 23 24 24 def test_wrong_filename(self): -
python/tests/test_source.py
r67024ff r8607a74 24 24 _debug = False 25 25 26 class Test_aubio_source_test_case :26 class Test_aubio_source_test_case(object): 27 27 28 28 @parametrize('filename', list_of_sounds) … … 41 41 f.close() 42 42 43 class Test_aubio_source_read :43 class Test_aubio_source_read(object): 44 44 45 45 def read_from_source(self, f): … … 119 119 120 120 121 class Test_aubio_source_wrong_params :121 class Test_aubio_source_wrong_params(object): 122 122 123 123 def test_wrong_file(self): … … 172 172 return total_frames 173 173 174 class Test_aubio_source_with :174 class Test_aubio_source_with(object): 175 175 176 176 @parametrize('filename', list_of_sounds)
Note: See TracChangeset
for help on using the changeset viewer.