~tapaal-red/verifypn/rule-l

« back to all changes in this revision

Viewing changes to test_models/urgency-test012/query.xml

  • Committer: Peter G. Jensen
  • Date: 2020-07-03 09:19:50 UTC
  • mto: This revision was merged to the branch mainline in revision 225.
  • Revision ID: root@petergjoel.dk-20200703091950-0wdbe4bezt4obe0t
added simple test-script and test models

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
2
<property-set xmlns="http://tapaal.net/">
 
3
  
 
4
  <property>
 
5
    <id>urgency-test012.TRUE-1</id>
 
6
    <description>urgency-test012.TRUE-1</description>
 
7
    <formula>
 
8
      <all-paths>
 
9
        <finally>
 
10
          <integer-eq>
 
11
            <tokens-count>
 
12
              <place>out</place>
 
13
            </tokens-count>
 
14
            <integer-constant>1</integer-constant>
 
15
          </integer-eq>
 
16
        </finally>
 
17
      </all-paths>
 
18
    </formula>
 
19
  </property>
 
20
  <property>
 
21
    <id>urgency-test012.TRUE-2</id>
 
22
    <description>urgency-test012.TRUE-2</description>
 
23
    <formula>
 
24
      <all-paths>
 
25
        <globally>
 
26
          <disjunction>
 
27
            <negation>
 
28
              <integer-ge>
 
29
                <tokens-count>
 
30
                  <place>out</place>
 
31
                </tokens-count>
 
32
                <integer-constant>1</integer-constant>
 
33
              </integer-ge>
 
34
            </negation>
 
35
            <conjunction>
 
36
              <integer-eq>
 
37
                <tokens-count>
 
38
                  <place>out</place>
 
39
                </tokens-count>
 
40
                <integer-constant>1</integer-constant>
 
41
              </integer-eq>
 
42
              <integer-eq>
 
43
                <tokens-count>
 
44
                  <place>in</place>
 
45
                </tokens-count>
 
46
                <integer-constant>0</integer-constant>
 
47
              </integer-eq>
 
48
              <integer-eq>
 
49
                <tokens-count>
 
50
                  <place>booking</place>
 
51
                </tokens-count>
 
52
                <integer-constant>0</integer-constant>
 
53
              </integer-eq>
 
54
              <integer-eq>
 
55
                <tokens-count>
 
56
                  <place>payment</place>
 
57
                </tokens-count>
 
58
                <integer-constant>0</integer-constant>
 
59
              </integer-eq>
 
60
              <integer-eq>
 
61
                <tokens-count>
 
62
                  <place>attempts</place>
 
63
                </tokens-count>
 
64
                <integer-constant>0</integer-constant>
 
65
              </integer-eq>
 
66
            </conjunction>
 
67
          </disjunction>
 
68
        </globally>
 
69
      </all-paths>
 
70
    </formula>
 
71
  </property>
 
72
  <property>
 
73
    <id>urgency-test012.TRUE-3</id>
 
74
    <description>urgency-test012.TRUE-3</description>
 
75
    <formula>
 
76
      <exists-path>
 
77
        <finally>
 
78
          <conjunction>
 
79
            <integer-eq>
 
80
              <tokens-count>
 
81
                <place>succesful</place>
 
82
              </tokens-count>
 
83
              <integer-constant>1</integer-constant>
 
84
            </integer-eq>
 
85
            <integer-eq>
 
86
              <tokens-count>
 
87
                <place>succesful</place>
 
88
              </tokens-count>
 
89
              <integer-constant>1</integer-constant>
 
90
            </integer-eq>
 
91
          </conjunction>
 
92
        </finally>
 
93
      </exists-path>
 
94
    </formula>
 
95
  </property>
 
96
  <property>
 
97
    <id>urgency-test012.FALSE-4</id>
 
98
    <description>urgency-test012.FALSE-4</description>
 
99
    <formula>
 
100
      <exists-path>
 
101
        <finally>
 
102
          <conjunction>
 
103
            <integer-eq>
 
104
              <tokens-count>
 
105
                <place>attempts</place>
 
106
              </tokens-count>
 
107
              <integer-constant>1</integer-constant>
 
108
            </integer-eq>
 
109
            <integer-eq>
 
110
              <tokens-count>
 
111
                <place>out</place>
 
112
              </tokens-count>
 
113
              <integer-constant>1</integer-constant>
 
114
            </integer-eq>
 
115
          </conjunction>
 
116
        </finally>
 
117
      </exists-path>
 
118
    </formula>
 
119
  </property>
 
120
</property-set>