mirror of
https://github.com/romanz/amodem.git
synced 2026-03-18 07:36:02 +08:00
recv: remove saturation detection
This commit is contained in:
@@ -47,15 +47,6 @@ def test_dumps_loads():
|
||||
assert all(x == y)
|
||||
|
||||
|
||||
def test_saturation():
|
||||
x = np.array([1, -1, 1, -1]) * 1e10
|
||||
try:
|
||||
common.check_saturation(x)
|
||||
assert False
|
||||
except common.SaturationError as e:
|
||||
assert e.args == (max(x),)
|
||||
|
||||
|
||||
def test_izip():
|
||||
x = range(10)
|
||||
y = range(-10, 0)
|
||||
|
||||
Reference in New Issue
Block a user