framing: handle bitstream & replace ECC by CRC-32

This commit is contained in:
Roman Zeyde
2014-09-06 14:27:18 +03:00
parent 9cdabd938a
commit 3602831a29
7 changed files with 134 additions and 90 deletions

View File

@@ -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():