示例#1
0
def test_dominates_irreflexive(term):
    assert not bohm.dominates(term, term)
示例#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)
示例#3
0
def test_dominates_irreflexive(code):
    assert not dominates(code, code)