mtl-aas/stl/test_parser.py
Marcell Vazquez-Chanlatte d52fffe826 getter/setter optics bug fix
2017-10-26 17:46:51 -07:00

11 lines
264 B
Python

# -*- coding: utf-8 -*-
import stl
from hypothesis import given, event
from stl.hypothesis import SignalTemporalLogicStrategy
@given(SignalTemporalLogicStrategy)
def test_invertable_repr(phi):
event(str(phi))
assert str(phi) == str(stl.parse(str(phi)))