sepsets: fix infinite loop
* tests/core/sepsets.test: New test case. * spot/twaalgos/sepsets.cc: Fix the code. * NEWS: Mention the problem.
This commit is contained in:
parent
936481dcbd
commit
26e2f9cec8
3 changed files with 34 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2015 Laboratoire de Recherche et Développement de
|
||||
# Copyright (C) 2015, 2019 Laboratoire de Recherche et Développement de
|
||||
# l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -39,6 +39,16 @@ State: 2
|
|||
[!0&1&!2] 1
|
||||
[0&!2] 2 {0 1}
|
||||
--END--
|
||||
HOA: v1
|
||||
States: 1
|
||||
Start: 0
|
||||
AP: 3 "p0" "p1" "p2"
|
||||
Acceptance: 3 (Fin(1) | Inf(0)) & (Fin(2) | Inf(1))
|
||||
properties: trans-labels explicit-labels state-acc deterministic
|
||||
--BODY--
|
||||
State: 0 {0 1 2}
|
||||
[0&!1&!2] 0
|
||||
--END--
|
||||
EOF
|
||||
|
||||
cat >expected <<EOF
|
||||
|
|
@ -60,6 +70,16 @@ State: 2
|
|||
[!0&1&!2] 1
|
||||
[0&!2] 2 {0 1 2 3}
|
||||
--END--
|
||||
HOA: v1
|
||||
States: 1
|
||||
Start: 0
|
||||
AP: 3 "p0" "p1" "p2"
|
||||
Acceptance: 4 (Fin(3) | Inf(0)) & (Fin(2) | Inf(1))
|
||||
properties: trans-labels explicit-labels state-acc deterministic
|
||||
--BODY--
|
||||
State: 0 {0 1 2 3}
|
||||
[0&!1&!2] 0
|
||||
--END--
|
||||
EOF
|
||||
|
||||
run 0 autfilt --separate-sets in -H > out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue