Example #1
0
 def setUp(self):
     # this is required for some strange reason.
     # seems like yices/__init__.py does not get evaluated
     Yices.init()
     self.cfg = Config()
     self.ctx = Context(self.cfg)
     self.param = Parameters()
     self.param.default_params_for_context(self.ctx)
     global bool_t, int_t, real_t
     bool_t = Types.bool_type()
     int_t = Types.int_type()
     real_t = Types.real_type()
 def setUp(self):
     Yices.init()