twa_graph: more test coverage

The goal is to improve coverage stats, but I discovered two issues
while doing so.

* tests/python/twagraph.py: New test case.
* tests/Makefile.am: Add it.
* spot/twa/twagraph.hh: Add fix typos in error messages.
* python/spot/impl.i: Fix broken wrappers for state_from_number and
state_acc_sets.
This commit is contained in:
Alexandre Duret-Lutz 2017-03-07 17:24:14 +01:00
parent 61924aec37
commit cd4c326f7b
5 changed files with 98 additions and 4 deletions

3
NEWS
View file

@ -38,6 +38,9 @@ New in spot 2.3.1.dev (not yet released)
- spot::twa_graph::set_univ_init_state() could not be called with
an initializer list.
- the Python wrappers for spot::twa_graph::state_from_number and
spot::twa_graph::state_acc_sets were broken in 2.3.
Deprecation notices:
- Using --format=%a to print the number of atomic propositions in