tock-mirror/testcases/automatic
Neil Brown 2ecd91e36f Changed the array usage checking to always include equations involving replicators
This allows us to check situations like this:

PAR i = 0 FOR 10
  IF
    i = 0
      a[10] := 3
    TRUE
      a[i] := 3

Previously this would have been flagged unsafe (because 10 can overlap with 10 between the replicated branches).

But with this change, the equations on the replicators (including: i'>=i+1, i = 0, i' = 0) are included alongside 10=10, so there is no solution over all because the replicator equations prevent a solution (i.e. the 10 can't be used twice in parallel).
2009-02-05 15:47:41 +00:00
..
chan-ends.occ.test Added more tests ready for channel-end inference 2009-01-23 14:47:59 +00:00
direction-decorators-1.occ.test Implement channel direction decorators. 2008-06-09 21:35:20 +00:00
direction-decorators-2.occ.test Implement channel direction decorators. 2008-06-09 21:35:20 +00:00
direction-decorators-3.occ.test Implement channel direction decorators. 2008-06-09 21:35:20 +00:00
initial-result-1.occ.test Initial work on supporting INITIAL and RESULT abbreviations. 2008-06-02 20:41:37 +00:00
initial-result-2.occ.test Initial work on supporting INITIAL and RESULT abbreviations. 2008-06-02 20:41:37 +00:00
unify-types-1.rain.test Added some tests for the type-checking of poison statements in Rain 2008-09-12 14:37:11 +00:00
usage-check-1.occ.test Added a few more tests to help make sure I don't break anything 2009-02-04 13:08:11 +00:00
usage-check-2.occ.test Added a couple more tests 2008-01-25 11:19:58 +00:00
usage-check-3.occ.test Tweaked some tests so that they are now correct 2008-02-08 14:03:45 +00:00
usage-check-4.occ.test Added tests with multi-dimensional arrays 2008-01-25 16:16:16 +00:00
usage-check-5.occ.test Fix a broken occam test (spotted by the new type checker). 2008-03-26 14:45:51 +00:00
usage-check-6.occ.test Changed the array usage checking to always include equations involving replicators 2009-02-05 15:47:41 +00:00
usage-check-7.occ.test Added a lot more testcases related to background knowledge in usage checking 2009-02-05 14:53:42 +00:00