Module test_counter
source linkFunctions
▷ def test_digest(loop, CD, size) @pytest.mark.parametrize( "CD,size", [ (Counter, lambda d: sum(d.values())), pytest.param( Digest, lambda x: x.size(), marks=pytest.mark.skipif(not Digest, reason="no crick library"), ), ], ) @pytest.mark.parametrize( "CD,size", [ (Counter, lambda d: sum(d.values())), pytest.param( Digest, lambda x: x.size(), marks=pytest.mark.skipif(not Digest, reason="no crick library"), ), ], )
def test_digest(
loop,
CD,
size,
)