monitor: add a few tests

* src/tgbatest/monitor.test: New file.
* src/tgbatest/Makefile.am: Add it.
* src/tgbaalgos/minimize.cc (minimize_monitor): Mark
the output automaton as state-based.
* src/tgba/tgbagraph.hh: Assume automata with 0 acceptance sets are also
state-based.
This commit is contained in:
Alexandre Duret-Lutz 2014-11-20 10:59:56 +01:00
parent 6eeb74e15f
commit 392c527d31
4 changed files with 80 additions and 1 deletions

View file

@ -496,6 +496,7 @@ namespace spot
auto res = minimize_dfa(det_a, final, non_final);
res->prop_deterministic();
res->prop_inherently_weak();
res->prop_state_based_acc();
return res;
}