diff options
author | Alex Auvolat <alex.auvolat@ansys.com> | 2014-06-18 17:53:11 +0200 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ansys.com> | 2014-06-18 17:53:11 +0200 |
commit | 5a4165f55002876033c718303f86e9e1b7417745 (patch) | |
tree | aa17967d9b952b3df9a6b6fce215997ea2c9f7e5 /tests/source/limitera.scade | |
parent | 96753a375e814be6bde6c41cfdfa4b4cc06bd28e (diff) | |
download | scade-analyzer-5a4165f55002876033c718303f86e9e1b7417745.tar.gz scade-analyzer-5a4165f55002876033c718303f86e9e1b7417745.zip |
Nice view of guarantees ; add half test, proved.
Diffstat (limited to 'tests/source/limitera.scade')
-rw-r--r-- | tests/source/limitera.scade | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/source/limitera.scade b/tests/source/limitera.scade index e6db4e2..2b87278 100644 --- a/tests/source/limitera.scade +++ b/tests/source/limitera.scade @@ -4,6 +4,7 @@ node limiter(x: int; d: int) returns (probe y: int) var s, r: int; let assume in_bounded: x >= -bound and x <= bound; + assume d_bounded: d = 16; guarantee out_bounded: y >= -bound and y <= bound; s = 0 -> pre y; r = x - s; |