Kaydet (Commit) c8504e27 authored tarafından Guido van Rossum's avatar Guido van Rossum

Added test for ratecv (from Sjoerd, reformatted).

üst e8811f85
......@@ -169,6 +169,15 @@ def testmul(data):
return 0
return 1
def testratecv(data):
if verbose:
print 'ratecv'
state = (-8000, ((256, 512),))
if audioop.ratecv(data[0], 1, 1, 8000, 16000, state) != \
('\001\000\000\001\001\002', state):
return 0
return 1
def testreverse(data):
if verbose:
print 'reverse'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment