Changeset 7d89e61 for python/tests/test_note2midi.py
- Timestamp:
- Mar 10, 2013, 5:37:28 PM (11 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:
- 8c4560e
- Parents:
- 9ead7a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_note2midi.py
r9ead7a9 r7d89e61 1 # -*- encoding: utf8 -*- 1 #! /usr/bin/env python 2 # -*- coding: utf-8 -*- 2 3 3 4 from aubio import note2midi … … 23 24 ) 24 25 25 class TestNote2MidiGoodValues(unittest.TestCase):26 class note2midi_good_values(unittest.TestCase): 26 27 27 28 def test_note2midi_known_values(self): … … 30 31 self.assertEqual ( note2midi(note), midi ) 31 32 32 class TestNote2MidiWrongValues(unittest.TestCase):33 class note2midi_wrong_values(unittest.TestCase): 33 34 34 35 def test_note2midi_missing_octave(self):
Note: See TracChangeset
for help on using the changeset viewer.