-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bdc8a6b
commit 5c4db25
Showing
6 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
2 changes: 0 additions & 2 deletions
2
tests/integration/compiler/counters_smaller_than_default/README
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 |
---|---|---|
@@ -1,4 +1,2 @@ | ||
#Command-line: | ||
"${KAPPABIN}"KaSim -l 1 counters_smaller_than.ka -d output --compile -seed 352860854 || true | ||
|
||
# BUG |
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 |
---|---|---|
@@ -1,5 +1,2 @@ | ||
#Command-line: | ||
"${KAPPABIN}"KaSim counters_create.ka -o data.svg -d output -seed 322460359 -l 2 --debug || exit 0 | ||
|
||
#BUG, should create some B() | ||
# But interted part of the counter is no set up with the proper initialisation value. |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#Command-line: | ||
"${KAPPABIN}"KaSim counters_deg.ka -seed 322460359 || exit 0 | ||
"${KAPPABIN}"KaSim counters_deg.ka -d output -seed 322460359 || exit 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
5 changes: 5 additions & 0 deletions
5
tests/integration/simulation/counters_deg/output/deadlock.ka.ref
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,5 @@ | ||
// Snapshot [Event: 1] | ||
%def: "T0" "6.432362655550786" | ||
|
||
|
||
|
18 changes: 18 additions & 0 deletions
18
tests/integration/simulation/counters_deg/output/inputs.ka.ref
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,18 @@ | ||
%def: "seed" "322460359" | ||
%def: "dumpIfDeadlocked" "true" | ||
%def: "maxConsecutiveClash" "3" | ||
%def: "progressBarSize" "70" | ||
%def: "progressBarSymbol" "#" | ||
%def: "plotPeriod" "1" "t.u." | ||
%def: "outputFileName" "data.csv" | ||
|
||
|
||
%agent: A(c{=0/+=0}) | ||
|
||
%plot: [T] | ||
'tick' A(c{=0})- @ 1 | ||
/*0*/%mod: (|A(c{=1})| = 1) do $PRINTF ""; $PRINTF "Counter c of agent A reached maximum"; $STOP "counter_perturbation.ka"; repeat [false] | ||
|
||
%init: 1 A(c{=0}) | ||
|
||
%mod: [E] = 1 do $STOP; |