twagraph: fix merge_edges() ignoring the first edge

This fixes #441, reported by Jérôme Dubois.

* tests/python/mergedge.py: New file.
* tests/Makefile.am: Add it.
* spot/twa/twagraph.cc (merge_edges): Fix initialization of second
loop.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2020-11-24 15:55:36 +01:00
parent 71060db9dd
commit fb224d3f63
4 changed files with 36 additions and 1 deletions

View file

@ -406,6 +406,7 @@ TESTS_python = \
python/ltlparse.py \
python/ltlsimple.py \
python/merge.py \
python/mergedge.py \
python/minato.py \
python/misc-ec.py \
python/optionmap.py \