syncing builds start moving to hypothesis

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-09-25 23:05:18 -07:00
parent f04f1b3eeb
commit c7e16566a0
12 changed files with 121 additions and 37 deletions

View file

@ -28,7 +28,8 @@ ex5 = ('G[0, b?](x1 > a?)',
stl.G(i1_, ex1_[1]))
ex6 = ('◇[0,1](x1)', stl.F(i1, ex1__[1]))
ex7 = ('F[0, inf](x)', stl.parse("F(x)"))
'''
class TestSTLParser(unittest.TestCase):
@params(ex1, ex2, ex3, ex4, ex5, ex6, ex7)
def test_stl(self, phi_str, phi):
@ -37,3 +38,4 @@ class TestSTLParser(unittest.TestCase):
def test_smoke_test(self):
"""Previously broken parses"""
stl.parse("◇[0,inf]((1*Lane_ID(t) = 1.0) ∧ (◇[0.0,eps?]((◇[eps?,tau1?](¬(1*Lane_ID(t) = 1.0))) ∧ (□[0,tau1?]((1*Lane_ID(t) = 1.0) U (¬(1*Lane_ID(t) = 1.0)))))))")
'''