~tapaal-red/verifypn/rule-l

« back to all changes in this revision

Viewing changes to test_models/discrete-test-009/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>discrete-test-009.TRUE-1</id>
 
6
    <description>discrete-test-009.TRUE-1</description>
 
7
    <formula>
 
8
      <exists-path>
 
9
        <finally>
 
10
          <conjunction>
 
11
            <integer-eq>
 
12
              <tokens-count>
 
13
                <place>test1</place>
 
14
              </tokens-count>
 
15
              <integer-constant>1</integer-constant>
 
16
            </integer-eq>
 
17
            <integer-eq>
 
18
              <tokens-count>
 
19
                <place>test2</place>
 
20
              </tokens-count>
 
21
              <integer-constant>1</integer-constant>
 
22
            </integer-eq>
 
23
            <integer-eq>
 
24
              <tokens-count>
 
25
                <place>test3</place>
 
26
              </tokens-count>
 
27
              <integer-constant>1</integer-constant>
 
28
            </integer-eq>
 
29
          </conjunction>
 
30
        </finally>
 
31
      </exists-path>
 
32
    </formula>
 
33
  </property>
 
34
  <property>
 
35
    <id>discrete-test-009.FALSE-2</id>
 
36
    <description>discrete-test-009.FALSE-2</description>
 
37
    <formula>
 
38
      <exists-path>
 
39
        <finally>
 
40
          <integer-eq>
 
41
            <tokens-count>
 
42
              <place>test1</place>
 
43
            </tokens-count>
 
44
            <integer-constant>13</integer-constant>
 
45
          </integer-eq>
 
46
        </finally>
 
47
      </exists-path>
 
48
    </formula>
 
49
  </property>
 
50
  <property>
 
51
    <id>discrete-test-009.TRUE-3</id>
 
52
    <description>discrete-test-009.TRUE-3</description>
 
53
    <formula>
 
54
      <exists-path>
 
55
        <globally>
 
56
          <integer-eq>
 
57
            <tokens-count>
 
58
              <place>test3</place>
 
59
            </tokens-count>
 
60
            <integer-constant>0</integer-constant>
 
61
          </integer-eq>
 
62
        </globally>
 
63
      </exists-path>
 
64
    </formula>
 
65
  </property>
 
66
  <property>
 
67
    <id>discrete-test-009.TRUE-4</id>
 
68
    <description>discrete-test-009.TRUE-4</description>
 
69
    <formula>
 
70
      <all-paths>
 
71
        <finally>
 
72
          <disjunction>
 
73
            <integer-ge>
 
74
              <tokens-count>
 
75
                <place>P0</place>
 
76
              </tokens-count>
 
77
              <integer-constant>1</integer-constant>
 
78
            </integer-ge>
 
79
            <integer-eq>
 
80
              <tokens-count>
 
81
                <place>test1</place>
 
82
              </tokens-count>
 
83
              <integer-constant>1</integer-constant>
 
84
            </integer-eq>
 
85
          </disjunction>
 
86
        </finally>
 
87
      </all-paths>
 
88
    </formula>
 
89
  </property>
 
90
  <property>
 
91
    <id>discrete-test-009.FALSE-5</id>
 
92
    <description>discrete-test-009.FALSE-5</description>
 
93
    <formula>
 
94
      <all-paths>
 
95
        <finally>
 
96
          <disjunction>
 
97
            <integer-eq>
 
98
              <tokens-count>
 
99
                <place>P0</place>
 
100
              </tokens-count>
 
101
              <integer-constant>0</integer-constant>
 
102
            </integer-eq>
 
103
            <integer-eq>
 
104
              <tokens-count>
 
105
                <place>test3</place>
 
106
              </tokens-count>
 
107
              <integer-constant>1</integer-constant>
 
108
            </integer-eq>
 
109
          </disjunction>
 
110
        </finally>
 
111
      </all-paths>
 
112
    </formula>
 
113
  </property>
 
114
</property-set>