projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1827c49
)
python/tests/test_mathutils: fix test_miditobin test
author
Paul Brossier
<piem@piem.org>
Tue, 10 May 2016 19:05:06 +0000
(21:05 +0200)
committer
Paul Brossier
<piem@piem.org>
Tue, 10 May 2016 19:05:06 +0000
(21:05 +0200)
python/tests/test_mathutils.py
patch
|
blob
|
history
diff --git
a/python/tests/test_mathutils.py
b/python/tests/test_mathutils.py
index
e42c3a5
..
8de9a9d
100755
(executable)
--- a/
python/tests/test_mathutils.py
+++ b/
python/tests/test_mathutils.py
@@
-70,7
+70,7
@@
class aubio_mathutils(TestCase):
def test_miditobin(self):
a = list(range(-30, 200)) + [-100000, 10000]
- b = [
bintomidi
(x, 44100, 512) for x in a ]
+ b = [
miditobin
(x, 44100, 512) for x in a ]
#print zip(a, b)
assert_equal ( isnan(array(b)), False )
assert_equal ( isinf(array(b)), False )