-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds two further tests for SMV range types.
- Loading branch information
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CORE broken-smt-backend | ||
range_type7.smv | ||
--bound 5 | ||
^\[spec1\] G x != 1: REFUTED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
MODULE main | ||
VAR x:1..6; | ||
|
||
ASSIGN | ||
init(x) := 6; | ||
|
||
next(x) := | ||
case | ||
x!=1 : x - 1; | ||
TRUE: 1; | ||
esac; | ||
|
||
-- should fail | ||
LTLSPEC G x!=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
KNOWNBUG broken-smt-backend | ||
range_type8.smv | ||
--bound 5 | ||
^\[spec1\] G x != 1: REFUTED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
-- | ||
We do not have type checking for unary minus. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
MODULE main | ||
VAR x:1..6; | ||
|
||
ASSIGN | ||
init(x) := 6; | ||
|
||
next(x) := | ||
case | ||
x!=1 : x + -1; -- unary minus | ||
TRUE: 1; | ||
esac; | ||
|
||
-- should fail | ||
LTLSPEC G x!=1 |