Refactor + tests (#6)
- Minor codebase clean-up - Slight reorganisation of examples + tests so that we don't break stuff by accident - CI tests
This commit was merged in pull request #6.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# from smt.smt_checker import SmtChecker
|
||||
from smt.smt_checker_rs import SmtCheckerRS
|
||||
from smt.smt_checker_rsc import SmtCheckerRSC
|
||||
from smt.smt_checker_rsc_param import SmtCheckerRSCParam
|
||||
|
||||
@@ -267,7 +267,7 @@ class SmtCheckerRS(object):
|
||||
):
|
||||
"""Main testing function"""
|
||||
|
||||
if not type(state) is tuple:
|
||||
if not isinstance(state, tuple):
|
||||
state = (state, [])
|
||||
|
||||
if print_time:
|
||||
|
||||
@@ -11,9 +11,6 @@ from colour import *
|
||||
|
||||
from logics import rsLTL_Encoder
|
||||
|
||||
# def simplify(x):
|
||||
# return x
|
||||
|
||||
|
||||
class SmtCheckerRSC(object):
|
||||
def __init__(self, rsca):
|
||||
|
||||
@@ -14,9 +14,6 @@ from logics import ParamConstr_Encoder
|
||||
|
||||
from rs.reaction_system_with_concentrations_param import ParameterObj, is_param
|
||||
|
||||
# def simplify(x):
|
||||
# return x
|
||||
|
||||
|
||||
def z3_max(a, b):
|
||||
return If(a > b, a, b)
|
||||
|
||||
Reference in New Issue
Block a user