Commit 142f1afa authored by Florian Renkin's avatar Florian Renkin

unit_propagation: Add a test with multiple unit clauses

* tests/core/acc.cc, tests/core/acc.test: here.
parent 927ea704
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment