acc: improve diagnostics for algorithms that use too many colors

* spot/twa/acc.hh (acc_cond::mark_t): Diagnose mark_t with set numbers
that are too larges.
* tests/python/except.py: Adjust.
* tests/core/acc.cc: Remove most of asserts, as those can be disabled,
and adjust expected exception.
This commit is contained in:
Alexandre Duret-Lutz 2019-10-18 11:25:43 +02:00
parent 896925ae1c
commit cc9659bca0
3 changed files with 21 additions and 7 deletions

View file

@ -169,7 +169,7 @@ else:
try:
m = spot.mark_t([0, n, 1])
except RuntimeError as e:
assert "bit index is out of bounds" in str(e)
assert "Too many acceptance sets used. The limit is" in str(e)
else:
report_missing_exception()