#!/bin/sh # -*- coding: utf-8 -*- # Copyright (C) 2016 Laboratoire de Recherche et Développement de # l'Epita (LRDE). # # This file is part of Spot, a model checking library. # # Spot is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # Spot is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public # License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . . ./defs set -e cat >alt.hoa <alt.dot cat >expect.dot < -11 [arrowhead=onormal] -11 [label=<>,shape=point] -11 -> 0 -11 -> 2 subgraph cluster_0 { color=green label="" 2 [label="G(a)"] } subgraph cluster_1 { color=red label="" 1 [label="FG(a)\n⓿"] } subgraph cluster_2 { color=green label="" 6 [label="t"] } subgraph cluster_3 { color=red label="" 4 [label="F(b)\n⓿"] } subgraph cluster_4 { color=green label="" 3 [label="GF(b)"] } subgraph cluster_5 { color=red label="" 5 [label="((a) U (b))\n⓿"] } subgraph cluster_6 { color=black label="" 0 [label="((((a) U (b)) && GF(b)) && FG(a))"] } 0 -> -1 [label="b", arrowhead=onormal] -1 [label=<>,shape=point] -1 -> 1 -1 -> 3 0 -> -4 [label="a & !b", style=bold, color="#F15854", arrowhead=onormal] -4 [label=<>,shape=point] -4 -> 1 [style=bold, color="#F15854"] -4 -> 3 [style=bold, color="#F15854"] -4 -> 5 [style=bold, color="#F15854"] 1 -> 2 [label="a"] 1 -> 1 [label="1"] 2 -> 2 [label="a"] 3 -> 3 [label="b"] 3 -> -8 [label="!b", style=bold, color="#FAA43A", arrowhead=onormal] -8 [label=<>,shape=point] -8 -> 3 [style=bold, color="#FAA43A"] -8 -> 4 [style=bold, color="#FAA43A"] 4 -> 6 [label="b"] 4 -> 4 [label="!b"] 5 -> 6 [label="b"] 5 -> 5 [label="a & !b"] 6 -> 6 [label="1"] } EOF diff expect.dot alt.dot autfilt --trust=no --check=strength alt.hoa | grep properties: >output cat >expected <out.hoa <res cat >expected <res cat >expected <ex1<ex2<ex3<