Skip to content

Commit

Permalink
Add expected local types
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Vassor committed Jan 19, 2024
1 parent e270c7d commit 557b12a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/Running examples/plus_or_minus/A_expected.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
digraph A {
0;
1;


0 -> 1 [label="B!Secret(n: i32)", ];

}
14 changes: 14 additions & 0 deletions examples/Running examples/plus_or_minus/B_expected.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
digraph B {
0;
1;
3;
7;


0 -> 1 [label="A?Secret(n: i32)", ];
1 -> 3 [label="C?Guess(x: i32)", ];
3 -> 1 [label="C!Less(x: i32{x > n})", ];
3 -> 1 [label="C!More(x: i32{x < n})", ];
3 -> 7 [label="C!Correct(x: i32{x = n})", ];

}
12 changes: 12 additions & 0 deletions examples/Running examples/plus_or_minus/C_expected.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
digraph C {
0;
2;
6;


0 -> 2 [label="B!Guess(x: i32)", ];
2 -> 0 [label="B?Less(x: i32{x > n})", ];
2 -> 0 [label="B?More(x: i32{x < n})", ];
2 -> 6 [label="B?Correct(x: i32{x = n})", ];

}

0 comments on commit 557b12a

Please sign in to comment.