def test_fairness(self): model = BmcModel(self.fsm) # K, L must be consistent with one another with self.assertRaises(ValueError): model.fairness(0, 1) self.assertIsNotNone(model.fairness(3, 0)) self.assertEqual(Be, type(model.fairness(3, 0))) # Manual verification, this should output the following formula: # (NOT (AND (NOT X3) (AND (NOT X4) (NOT X5)))) self.enc.manager.dump_sexpr(model.fairness(3, 0), StdioFile.stdout())