Showing the changes to python/tests/test_mathutils.py (1 of 1 file). Show all
Unified · Split
| @@ -70,7 +70,7 @@ class aubio_mathutils(TestCase): · 69 unmodified lines | ||
| 70 | 70 | |
| 71 | 71 | def test_miditobin(self): |
| 72 | 72 | a = list(range(-30, 200)) + [-100000, 10000] |
| 73 | − b = [ bintomidi(x, 44100, 512) for x in a ] | |
| 73 | + b = [ miditobin(x, 44100, 512) for x in a ] | |
| 74 | 74 | #print zip(a, b) |
| 75 | 75 | assert_equal ( isnan(array(b)), False ) |
| 76 | 76 | assert_equal ( isinf(array(b)), False ) |