This commit is contained in:
Marcell Vazquez-Chanlatte 2018-09-18 23:19:58 -07:00
parent 25dfee86b0
commit 1b18efadfa
7 changed files with 7 additions and 15 deletions

View file

@ -2,7 +2,6 @@ import mtl
from mtl.hypothesis import MetricTemporalLogicStrategy
from hypothesis import given
from pytest import raises
CONTEXT = {
'ap1': mtl.parse('x'),
@ -13,6 +12,7 @@ CONTEXT = {
}
APS = set(CONTEXT.keys())
def test_inline_context_rigid():
phi = mtl.parse('G ap1')
assert phi[CONTEXT] == mtl.parse('G x')