added extra scope test
This commit is contained in:
parent
2c34d9dc7a
commit
caaaa0cdae
1 changed files with 3 additions and 0 deletions
|
|
@ -93,6 +93,9 @@ def test_scope():
|
|||
phi = stl.parse('X(AP1)')
|
||||
assert stl.utils.scope(phi, dt) == 0.3
|
||||
|
||||
phi = stl.parse('X((X(AP1)) | (AP2))')
|
||||
assert stl.utils.scope(phi, dt) == 0.6
|
||||
|
||||
phi = stl.parse('G[0.3, 1.2](F[0.6, 1.5](AP1))')
|
||||
assert stl.utils.scope(phi, dt) == 1.2 + 1.5
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue