dot: add support for two-player games

* spot/twaalgos/dot.cc: Honor the "state-player" property and draw
player 1 states using diamonds.
* doc/org/hoa.org: Show an example.
* tests/core/gamehoa.test: Make sure diamond is output.
* NEWS: Mention this.
This commit is contained in:
Alexandre Duret-Lutz 2020-09-08 16:52:22 +02:00
parent ea9384dd4b
commit 41d088ea95
4 changed files with 24 additions and 0 deletions

View file

@ -32,6 +32,8 @@ cmp out out3 && exit 1
autfilt out3 >out2
diff out out2
autfilt --dot out3 | grep diamond
cat <<EOF >bug.hoa
HOA: v1 States: 11 Start: 3 AP: 3 "a" "b" "c"
acc-name: Streett 1 Acceptance: 2 Fin(0) | Inf(1) spot-state-player: 0