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:
2026-04-10 18:16:49 +01:00
committed by GitHub
parent 363446821e
commit f0019619b3
74 changed files with 1672 additions and 930 deletions

View File

@@ -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

View File

@@ -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:

View File

@@ -11,9 +11,6 @@ from colour import *
from logics import rsLTL_Encoder
# def simplify(x):
# return x
class SmtCheckerRSC(object):
def __init__(self, rsca):

View File

@@ -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)