mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 05:36:42 +08:00
framing: handle bitstream & replace ECC by CRC-32
This commit is contained in:
@@ -51,8 +51,13 @@ def run(size, chan=None, df=0, success=True):
|
||||
assert rx_data == tx_data
|
||||
|
||||
|
||||
def test_small():
|
||||
run(1024, chan=lambda x: x)
|
||||
@pytest.fixture(params=[0, 1, 3, 10, 42, 123])
|
||||
def small_size(request):
|
||||
return request.param
|
||||
|
||||
|
||||
def test_small(small_size):
|
||||
run(small_size, chan=lambda x: x)
|
||||
|
||||
|
||||
def test_error():
|
||||
|
||||
Reference in New Issue
Block a user