def test_atom(): p = Atom("P") model = {"P": True} assert p.evaluate(model)
def test_atom_negative(): q = Atom("Q") model = {"Q": False} assert not q.evaluate(model)