unit_propagation: Add a test with multiple unit clauses
* tests/core/acc.cc, tests/core/acc.test: here.
This commit is contained in:
parent
927ea7046b
commit
142f1afab2
2 changed files with 5 additions and 0 deletions
|
|
@ -237,5 +237,9 @@ int main()
|
|||
expect(e, "Too many acceptance sets used.");
|
||||
}
|
||||
|
||||
auto cond1 = spot::acc_cond::acc_code(
|
||||
"(Inf(0) & Inf(5)) | Inf(5) | Inf(0)");
|
||||
std::cout << cond1.unit_propagation() << '\n';
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ Fin(2) | Inf(2)
|
|||
Inf(2) & Fin(2)
|
||||
(Fin(0)|Fin(3)) | (Inf(1) & Fin(2))
|
||||
(Fin(0)|Fin(3)) | (Inf(1) & Fin(2))
|
||||
Inf(5) | Inf(0)
|
||||
EOF
|
||||
|
||||
run 0 ../acc > stdout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue