diff options
Diffstat (limited to 'tests/t.stage')
| -rw-r--r-- | tests/t.stage | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/t.stage b/tests/t.stage new file mode 100644 index 0000000..c97fe4f --- /dev/null +++ b/tests/t.stage | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | |||
| 2 | situation <<start>> | ||
| 3 | { | ||
| 4 | setup | ||
| 5 | { | ||
| 6 | display("Hi"); | ||
| 7 | } | ||
| 8 | enter | ||
| 9 | { | ||
| 10 | display("start pre"); | ||
| 11 | goAhead(); | ||
| 12 | display("start post"); | ||
| 13 | } | ||
| 14 | } | ||
| 15 | |||
| 16 | function goAhead() | ||
| 17 | { | ||
| 18 | display("goAhead() pre"); | ||
| 19 | goto( <<next>> ); | ||
| 20 | display("goAhead() post"); | ||
| 21 | } | ||
| 22 | |||
| 23 | situation <<next>> | ||
| 24 | { | ||
| 25 | enter | ||
| 26 | { | ||
| 27 | display("This is next."); | ||
| 28 | } | ||
| 29 | } | ||
