Ejemplo n.º 1
0
def test_dominates_irreflexive(term):
    assert not bohm.dominates(term, term)
Ejemplo n.º 2
0
def test_dominates_transitive(x, y, z):
    for x, y, z in itertools.permutations([x, y, z]):
        if bohm.dominates(x, y) and bohm.dominates(y, z):
            assert bohm.dominates(x, z)
Ejemplo n.º 3
0
def test_dominates_irreflexive(code):
    assert not dominates(code, code)