Пример #1
0
 def test_not_internally_consistent_with_context(self, make_statement):
     context = ContextRegister()
     context.insert_pair(Entity(name="Alice"), Entity(name="Alice"))
     context.insert_pair(Entity(name="Bob"), Entity(name="Bob"))
     group = FactorGroup(
         [make_statement["shooting"], make_statement["no_shooting"]])
     with pytest.raises(ValueError):
         group.internally_consistent()
Пример #2
0
 def test_not_internally_consistent(self, make_statement):
     group = FactorGroup(
         [make_statement["shooting"], make_statement["no_shooting"]])
     with pytest.raises(ValueError):
         group.internally_consistent()