Ejemplo n.º 1
0
def test_parse(p, s):
    assert Permutation.parse(s) == p
Ejemplo n.º 2
0
def test_bad_parse(s):
    with pytest.raises(ValueError):
        Permutation.parse(s)