def test_MODS_satisfiable(sentence: nnf.Or): if len(sentence.children) > 0: assert sentence.satisfiable() else: assert not sentence.satisfiable()
def test_hyp(sentence: nnf.Or): assume(len(sentence.children) != 0) assume(sentence.decomposable()) assert sentence.satisfiable() assert sentence.vars() <= set(range(1, 9))