bin: --stats=%x to count atomic propositions
* bin/common_aoutput.cc, bin/common_aoutput.hh: Implement %x and %X. * tests/core/remprop.test: Test them. * NEWS: Mention them.
This commit is contained in:
parent
dd5a820863
commit
0d00ab24d2
4 changed files with 26 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2015, 2016 Laboratoire de Recherche et Développement de
|
||||
# Copyright (C) 2015-2017 Laboratoire de Recherche et Développement de
|
||||
# l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -47,6 +47,7 @@ EOF
|
|||
|
||||
cat >expected <<EOF
|
||||
HOA: v1
|
||||
name: "3->1"
|
||||
States: 4
|
||||
Start: 0
|
||||
AP: 1 "c"
|
||||
|
|
@ -68,7 +69,7 @@ State: 3
|
|||
--END--
|
||||
EOF
|
||||
|
||||
run 0 autfilt -H --remove-ap=a,b automaton >out
|
||||
run 0 autfilt -H --remove-ap=a,b --name='%X->%x' automaton >out
|
||||
cat out
|
||||
diff out expected
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue