ltltest: speedup more tests
This generalizes the previous patch. * src/ltltest/equalsf.cc: Allow escaped '\,' and negated result. * src/ltltest/Makefile.am: Use equalsf.cc for almost all tests that used equals.cc. (nequals): New. * src/ltltest/equals.test, src/ltltest/eventuniv.test, src/ltltest/lunabbrev.test, src/ltltest/nenoform.test, src/ltltest/parseerr.test, src/ltltest/tunabbrev.test, src/ltltest/tunenoform.test: Adjust.
This commit is contained in:
parent
7b9f695265
commit
6a741189bc
10 changed files with 371 additions and 324 deletions
|
|
@ -1,8 +1,9 @@
|
|||
#! /bin/sh
|
||||
# Copyright (C) 2009 Laboratoire de Recherche et Développement
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2009, 2014 Laboratoire de Recherche et Développement
|
||||
# de l'Epita (LRDE).
|
||||
# Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
# département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
# département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
# et Marie Curie.
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -27,10 +28,14 @@
|
|||
|
||||
set -e
|
||||
|
||||
run 0 ../tunenoform '!(a ^ b)' '(a|!b) & (!a|b)'
|
||||
run 0 ../tunenoform '!(a <=> b)' '(a|b) & (!a|!b)'
|
||||
run 0 ../tunenoform '!(a => b)' 'a&!b'
|
||||
run 0 ../tunenoform '!(!a => !b)' '!a&b'
|
||||
run 0 ../tunenoform '!Fa' 'false R !a'
|
||||
run 0 ../tunenoform '!G!a' 'true U a'
|
||||
run 0 ../tunenoform '!(GF a => FG b)' '(0 R (1 U a)) & (0 R (1 U !b))'
|
||||
cat >tunenoform.txt<<EOF
|
||||
!(a ^ b), (a|!b) & (!a|b)
|
||||
!(a <=> b), (a|b) & (!a|!b)
|
||||
!(a => b), a&!b
|
||||
!(!a => !b), !a&b
|
||||
!Fa, false R !a
|
||||
!G!a, true U a
|
||||
!(GF a => FG b), (0 R (1 U a)) & (0 R (1 U !b))
|
||||
EOF
|
||||
|
||||
run 0 ../tunenoform tunenoform.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue