twa_graph: introduce copy_state_names_from()

* spot/twa/twagraph.cc, spot/twa/twagraph.hh: Here.  Also
make sure "original-states" survives defrag_states().
* NEWS: Mention it.
* tests/python/origstate.py: New file.
* tests/Makefile.am: Add it.
This commit is contained in:
Alexandre Duret-Lutz 2017-04-10 19:26:52 +02:00
parent 865171230f
commit 46d8aaaae1
5 changed files with 160 additions and 0 deletions

View file

@ -346,6 +346,7 @@ TESTS_python = \
python/minato.py \
python/misc-ec.py \
python/optionmap.py \
python/origstate.py \
python/otfcrash.py \
python/parsetgba.py \
python/prodexpt.py \